Encountered Errors While Building Your Game - on a test game.

mrgoose

  • Posts: 8
Hello! I am on a Mac using the latest Stencyl and when I try to load an example game (Dungeons) I get Encountered errors while building your game.  & Failed: Running Standalone (mac). (Return code: 1)

What does it mean!? I am able to test it in Flash Player. Just not Mac.

captaincomic

  • *
  • Posts: 6108
Code: [Select]
2015-11-18 21:43:19,888 INFO  [Thread-21] stencyl.sw.util.StreamGobbler: [haxelib] Error:
2015-11-18 21:43:19,888 INFO  [Thread-21] stencyl.sw.util.StreamGobbler: [haxelib] Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Xcode is asking you to accept its license. Open Xcode, you should see a license prompt, accept it, then try again.

megagewinnspiel

  • Posts: 396
@captaincomic
Can you also try to tell me something about my problem? Do you see anything wrong with the LOG? An error pops up when I try to test the game on android and the compiling stops...
Code: [Select]
2015-11-19 16:52:38,762 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Running command: BUILD
2015-11-19 16:52:38,762 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Copying library file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/hxcpp/hxcpp/bin/Android/libstd-v7.so -> Export/android/bin/libs/armeabi/libstd.so
2015-11-19 16:52:38,763 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Copying library file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/hxcpp/hxcpp/bin/Android/libregexp-v7.so -> Export/android/bin/libs/armeabi/libregexp.so
2015-11-19 16:52:38,764 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Copying library file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/hxcpp/hxcpp/bin/Android/libzlib-v7.so -> Export/android/bin/libs/armeabi/libzlib.so
2015-11-19 16:52:38,765 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Copying library file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime/lime/legacy/ndll/Android/liblime-legacy-v7.so -> Export/android/bin/libs/armeabi/liblime-legacy.so
2015-11-19 16:52:38,775 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: haxe Export/android/haxe/release.hxml -D android -D android-9 -D HXCPP_ARMV7
2015-11-19 16:53:05,716 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Changing directory: Export/android/obj
2015-11-19 16:53:05,716 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: haxelib run hxcpp Build.xml -DHXCPP_ARMV7=1 -Dactuate=1.6.5 -Dandroid=1 -Dandroid-9=1 -Dandroid_9=1 -Dbox2d=0.0.0 -Dconsole=0.0.0 -Dhaxe3=1 -Dhaxe_ver=3.2 -Dhxcpp=3.2.0 -Dhxcpp_api_level=321 -Dlime-legacy=1 -Dlime-native=1 -Dlime_legacy=1 -Dlime_native=1 -Dmobile=1 -Dnative=1 -Dopenfl=3.3.8 -Dopenfl-legacy=1 -Dopenfl-native=1 -Dopenfl_legacy=1 -Dopenfl_native=1 -Dpolygonal-ds=1.4.1 -Dpolygonal-printf=1.0.0-beta -Dpolygonal_ds=1.4.1 -Dpolygonal_printf=1.0.0-beta -Dstencyl=0.0.0 -Dtools=2.6.8 -Dandroid -Dandroid-9 -DHXCPP_ARMV7 -verbose
2015-11-19 16:53:05,806 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] hxcpp (Haxe C++ Runtime Support) (3.2.0)
2015-11-19 16:53:05,807 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using makefile: Build.xml
2015-11-19 16:53:05,807 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Reading HXCPP config: C:\Users\Megagewinnspiel\.hxcpp_config.xml
2015-11-19 16:53:05,807 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] No specified toolchain
2015-11-19 16:53:05,807 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/setup.xml
2015-11-19 16:53:05,807 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:\Users\Megagewinnspiel\.hxcpp_config.xml (section "vars")
2015-11-19 16:53:05,808 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/finish-setup.xml
2015-11-19 16:53:05,809 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing makefile: Build.xml
2015-11-19 16:53:06,109 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/build-tool/BuildCommon.xml
2015-11-19 16:53:06,109 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/haxe-target.xml
2015-11-19 16:53:06,129 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/android-toolchain.xml
2015-11-19 16:53:06,130 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK root: D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b/
2015-11-19 16:53:06,131 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android NDK r7
2015-11-19 16:53:06,131 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android toolchain: arm-linux-androideabi-4.4.3
2015-11-19 16:53:06,131 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android host: windows
2015-11-19 16:53:06,131 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using newest Android NDK platform: 14
2015-11-19 16:53:06,131 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Adding path: D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin
2015-11-19 16:53:06,132 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/gcc-toolchain.xml
2015-11-19 16:53:06,133 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing compiler: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/common-defines.xml
2015-11-19 16:53:06,134 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:\Users\Megagewinnspiel\.hxcpp_config.xml (section "exes")
2015-11-19 16:53:06,135 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using compile threads: 11
2015-11-19 16:53:07,387 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Compiling src/scripts/MyAssets.cpp : arm-linux-androideabi-g++ -Iinclude --sysroot=D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//platforms/android-9/arch-arm -ID:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//sources/cxx-stl/gnu-libstdc++/libs/armeabi/include -ID:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//sources/cxx-stl/gnu-libstdc++/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 "-IC:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include" -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -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 -x c++ -Wno-invalid-offsetof -frtti ./src/scripts/MyAssets.cpp "-oD:/Stencyl/stencylworks/games-generated/Anime Versus/Export/android/obj/obj/android-v7/717949eb_MyAssets.obj"
2015-11-19 16:53:16,990 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: arm-linux-androideabi-g++ -olibApplicationMain-v7.so -frtti -nostdlib -Wl,-shared,-Bsymbolic -Wl,--no-undefined -Wl,-z,noexecstack --sysroot=D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//platforms/android-9/arch-arm -LD:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//platforms/android-9/arch-arm/usr/lib "@D:/Stencyl/stencylworks/games-generated/Anime Versus/Export/android/obj/obj/android-v7/all_objs" D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//sources/cxx-stl/gnu-libstdc++/libs/armeabi/libgnustl_static.a D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//platforms/android-9/arch-arm/usr/lib/crtbegin_so.o D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//platforms/android-9/arch-arm/usr/lib/libc.so D:\Stencyl\stencylworks\android-sdk/android-ndk-r7b//platforms/android-9/arch-arm/usr/lib/libm.so -llog -ldl
2015-11-19 16:54:08,408 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: arm-linux-androideabi-strip libApplicationMain-v7.so
2015-11-19 16:54:08,495 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Copying file: Export/android/obj/libApplicationMain-v7.so -> Export/android/bin/libs/armeabi/libApplicationMain.so
2015-11-19 16:54:08,537 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Changing directory: Export/android/bin
2015-11-19 16:54:08,537 DEBUG [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: D:\Stencyl\stencylworks\android-sdk/apache-ant//bin/ant debug
2015-11-19 16:54:08,665 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Buildfile: D:\Stencyl\stencylworks\games-generated\Anime Versus\Export\android\bin\build.xml
2015-11-19 16:54:08,854 ERROR [Thread-13] stencyl.sw.util.dg.MessageDialog: Encountered errors while building your game. - Check your logs and post them to the forums.
2015-11-19 16:54:08,886 DEBUG [pool-1-thread-4] stencyl.sw.util.Util: Process 'haxelib.exe' exited with code: 1
2015-11-19 16:54:08,887 ERROR [pool-1-thread-4] stencyl.sw.io.write.resource.HXWriter: Failed: Running Android. (Return code: 1)
2015-11-19 16:54:08,887 ERROR [pool-1-thread-4] stencyl.sw.util.dg.MessageDialog: Encountered errors while building your game. - Check your logs and post them to the forums.
2015-11-19 16:54:16,321 ERROR [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] BUILD FAILED
2015-11-19 16:54:16,321 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] D:\Stencyl\stencylworks\games-generated\Anime Versus\Export\android\bin\build.xml:11: Cannot find D:\Stencyl\stencylworks\android-sdk\android-sdk-windows\tools\ant\build.xml imported from D:\Stencyl\stencylworks\games-generated\Anime Versus\Export\android\bin\build.xml
2015-11-19 16:54:16,322 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib.exe] Total time: 0 seconds
2015-11-19 16:54:24,212 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Generate Logs

The Device Monitor also ist not opening when I klick on it on the menu...

« Last Edit: November 19, 2015, 07:58:32 am by megagewinnspiel »

captaincomic

  • *
  • Posts: 6108
It says it cannot find a file from the Android SDK. Do you have that file?
Code: [Select]
Cannot find D:\Stencyl\stencylworks\android-sdk\android-sdk-windows\tools\ant\build.xml
Try reinstalling the SDK.