1
Ask a Question / Re: Getting rid of actors from memory
« on: April 10, 2023, 08:03:20 am »
Are you adding things to a list somewhere in your game...? Maybe you forgot to clear old things and it just keeps growing...?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
2019-03-06 12:17:48,054 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Running command: BUILD
2019-03-06 12:17:48,055 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Copying library file: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime/ndll/Android/liblime-v7.so -> Export/android/bin/app/src/main/jniLibs/armeabi-v7a/liblime.so
2019-03-06 12:17:48,056 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Creating directory: Export/android/bin/app/src/main/jniLibs/armeabi-v7a
2019-03-06 12:17:48,102 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Running command: haxe Export/android/haxe/release.hxml -D android -D PLATFORM=android-14 -D HXCPP_ARMV7
2019-03-06 12:17:50,417 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Log Viewer
2019-03-06 12:18:06,363 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Changing directory: Export/android/obj
2019-03-06 12:18:06,363 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Running command: haxelib run hxcpp Build.xml -options D:\OneDrive\stencylworks\games-generated\MischiefLounge_02c\Export\android\obj\Options.txt -Dandroid -DPLATFORM=android-14 -DHXCPP_ARMV7 -verbose
2019-03-06 12:18:06,542 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] hxcpp (Haxe C++ Runtime Support) (4.0.0)
2019-03-06 12:18:06,542 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using makefile: Build.xml
2019-03-06 12:18:06,542 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Reading HXCPP config: D:\OneDrive\stencylworks\prefs/.hxcpp_config.xml
2019-03-06 12:18:06,542 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] No specified toolchain
2019-03-06 12:18:06,543 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/setup.xml
2019-03-06 12:18:06,543 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: D:\OneDrive\stencylworks\prefs/.hxcpp_config.xml (section "vars")
2019-03-06 12:18:06,543 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/finish-setup.xml
2019-03-06 12:18:06,546 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing makefile: D:\OneDrive\stencylworks\games-generated\MischiefLounge_02c\Export\android\obj\Build.xml
2019-03-06 12:18:06,742 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/build-tool/BuildCommon.xml
2019-03-06 12:18:06,742 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/haxe-target.xml
2019-03-06 12:18:06,757 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/src/hx/libs/regexp/Build.xml
2019-03-06 12:18:06,759 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/src/hx/libs/std/Build.xml
2019-03-06 12:18:06,760 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/android-toolchain.xml
2019-03-06 12:18:06,762 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK root: C:/Developer_SDKs/android-ndk-r19b
2019-03-06 12:18:06,762 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android NDK r19
2019-03-06 12:18:06,762 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android toolchain: arm-linux-androideabi-4.9
2019-03-06 12:18:06,763 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android host: windows-x86_64
2019-03-06 12:18:06,763 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK platform: android-14
2019-03-06 12:18:06,763 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Adding path: C:/Developer_SDKs/android-ndk-r19b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin
2019-03-06 12:18:06,763 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/gcc-toolchain.xml
2019-03-06 12:18:06,765 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing compiler: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/common-defines.xml
2019-03-06 12:18:06,768 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Parsing include: D:\OneDrive\stencylworks\prefs/.hxcpp_config.xml (section "exes")
2019-03-06 12:18:06,769 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using compile threads: 7
2019-03-06 12:18:06,770 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj
2019-03-06 12:18:06,771 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7
2019-03-06 12:18:06,855 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch
2019-03-06 12:18:06,856 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe
2019-03-06 12:18:06,857 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Creating PCH directory "D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe"
2019-03-06 12:18:06,858 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Precompile D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch
2019-03-06 12:18:06,859 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] - Running command: arm-linux-androideabi-g++ -Iinclude --sysroot=C:/Developer_SDKs/android-ndk-r19b/platforms/android-14/arch-arm -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=331 "-IC:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include" -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -Wno-overflow "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -DHXCPP_ARMV7 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=14 -Wa,--noexecstack -O2 -DNDEBUG -c -Wno-invalid-offsetof -frtti -std=c++11 -o D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include/hxcpp.h"
2019-03-06 12:18:06,881 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] 'arm-linux-androideabi-g++' is not recognized as an internal or external command,
2019-03-06 12:18:06,881 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] operable program or batch file.
2019-03-06 12:18:06,883 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Error: Error while running command
2019-03-06 12:18:06,883 INFO [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] arm-linux-androideabi-g++ -Iinclude --sysroot=C:/Developer_SDKs/android-ndk-r19b/platforms/android-14/arch-arm -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=331 "-IC:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include" -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -Wno-overflow "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -DHXCPP_ARMV7 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=14 -Wa,--noexecstack -O2 -DNDEBUG -c -Wno-invalid-offsetof -frtti -std=c++11 -o D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include/hxcpp.h"
2019-03-06 12:18:06,923 DEBUG [pool-1-thread-15] stencyl.sw.util.Util: Process 'haxelib.exe' exited with code: 1
2019-03-06 12:18:06,924 ERROR [pool-1-thread-15] stencyl.sw.app.tasks.buildgame.GameBuilder: Failed: Running Android. (Return code: 1)
2019-03-06 12:18:06,924 ERROR [pool-1-thread-15] stencyl.sw.util.dg.MessageDialog: Encountered errors while building your game.: Check your logs and post them to the forums. - Please describe what you have been doing. Be as specific as possible.
Don't touch stencylworks.Ok, thanks!
I recently found out that this error can be caused by installing Stencyl over an existing install which you should never do. Always install new Stencyl versions into an empty folder (clean install).(Hm, I might have this problem as well now, I'm just going from 3.5 to 4.0... ) Do I also need to delete the stencylworks-folder to have a 'clean install of Stencyl', or should I avoid deleting the stencylworks-folder? I know have all my games in that stencylworks folder and I have made an backup of the games, but there is also all extensions, old preferences e.t.c. Shall I remove everything there except my games?
Share.hx : Type not found : openfl.utils.JNI
So I tried my self to temporarily change all "openfl.utils.JNI" to "lime.system.JNI" in Share.hx and then it compiled fine.