Bug Issue: I Cant Try My Game On Android, It wont build and has errors


Pages: 1

brad288

  • Junior Stencyler
August 25, 2019, 08:30:41 pm
Im using version 4.0.0 and i installed the android tools that it provides me but it still shows me an error. tell me how to put in the logs so you can help me.



yoplalala

  • Subscriber - Stencyl Studio
  • *
August 26, 2019, 07:02:44 am


brad288

  • Junior Stencyler
August 26, 2019, 04:23:50 pm
http://www.stencyl.com/help/viewArticle/135
Can you tell me how i can i test my game on android? it keeps showing me errors.


New attachment added by brad288 - August 26, 2019, 04:34:47 pm


yoplalala

  • Subscriber - Stencyl Studio
  • *
August 26, 2019, 11:39:46 pm
I think you have a ndk problem

it is said
Deduced NDK version 20 from "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570"/source.properties

but normally the names are like "android-ndk-r15c"
first does it have the usual folders inside "platform", "toolchains" inside ?
If it isn't the case , try to redownload it.

Or else try another ndk. I'm personnally  still using ndk-r15c.
 


Code: [Select]
2019-08-23 23:24:53,493 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK root: C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570
2019-08-23 23:24:53,529 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Deduced NDK version 20 from "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570"/source.properties
2019-08-23 23:24:53,530 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android NDK r20
2019-08-23 23:24:53,531 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android toolchain: arm-linux-androideabi-4.9
2019-08-23 23:24:53,532 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android host: windows-x86_64
2019-08-23 23:24:53,533 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK platform: android-14
2019-08-23 23:24:53,535 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Adding path: C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin
2019-08-23 23:24:53,537 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/gcc-toolchain.xml
2019-08-23 23:24:53,543 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing compiler: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/common-defines.xml
2019-08-23 23:24:53,550 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:\Users\genao\AppData\Roaming\Stencyl\stencylworks\prefs/.hxcpp_config.xml (section "exes")
2019-08-23 23:24:53,557 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using compile threads: 1
2019-08-23 23:24:55,584 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Creating PCH directory "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/games-generated/The Egg Heggers/Export/android/obj/obj/android-v7/__pch/haxe"
2019-08-23 23:24:55,586 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Precompile C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/games-generated/The Egg Heggers/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch
2019-08-23 23:24:55,588 DEBUG [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: arm-linux-androideabi-g++ -Iinclude --sysroot=C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/platforms/android-14/arch-arm -IC:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/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 "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/games-generated/The Egg Heggers/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-08-23 23:24:55,741 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] arm-linux-androideabi-g++: error: CreateProcess: No such file or directory
2019-08-23 23:24:55,756 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Error: Error while running command
2019-08-23 23:24:55,757 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] arm-linux-androideabi-g++ -Iinclude -
« Last Edit: August 26, 2019, 11:51:21 pm by yoplalala »


brad288

  • Junior Stencyler
August 27, 2019, 01:03:27 pm
I think you have a ndk problem


it is said
Deduced NDK version 20 from "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570"/source.properties

but normally the names are like "android-ndk-r15c"
first does it have the usual folders inside "platform", "toolchains" inside ?
If it isn't the case , try to redownload it.

Or else try another ndk. I'm personnally  still using ndk-r15c.
 


Code: [Select]
2019-08-23 23:24:53,493 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK root: C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570
2019-08-23 23:24:53,529 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Deduced NDK version 20 from "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570"/source.properties
2019-08-23 23:24:53,530 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android NDK r20
2019-08-23 23:24:53,531 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android toolchain: arm-linux-androideabi-4.9
2019-08-23 23:24:53,532 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android host: windows-x86_64
2019-08-23 23:24:53,533 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK platform: android-14
2019-08-23 23:24:53,535 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Adding path: C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin
2019-08-23 23:24:53,537 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/gcc-toolchain.xml
2019-08-23 23:24:53,543 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing compiler: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/common-defines.xml
2019-08-23 23:24:53,550 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:\Users\genao\AppData\Roaming\Stencyl\stencylworks\prefs/.hxcpp_config.xml (section "exes")
2019-08-23 23:24:53,557 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using compile threads: 1
2019-08-23 23:24:55,584 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Creating PCH directory "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/games-generated/The Egg Heggers/Export/android/obj/obj/android-v7/__pch/haxe"
2019-08-23 23:24:55,586 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Precompile C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/games-generated/The Egg Heggers/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch
2019-08-23 23:24:55,588 DEBUG [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: arm-linux-androideabi-g++ -Iinclude --sysroot=C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/platforms/android-14/arch-arm -IC:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/Users/genao/AppData/Roaming/Stencyl/stencylworks/android-sdk/android-sdk-windows/ndk/20.0.5594570/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 "C:/Users/genao/AppData/Roaming/Stencyl/stencylworks/games-generated/The Egg Heggers/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-08-23 23:24:55,741 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] arm-linux-androideabi-g++: error: CreateProcess: No such file or directory
2019-08-23 23:24:55,756 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] Error: Error while running command
2019-08-23 23:24:55,757 INFO  [Thread-93] stencyl.sw.util.StreamGobbler: [haxelib.exe] arm-linux-androideabi-g++ -Iinclude -
Cant you just send me an attachment of the ndk you are using since your work? no matter witch ndk i use it still shows similar or diffrent errors. one being that it cant run a command called "'arm-linux-androideabi-g++' and says that it is not recognized as an internal or external command. and thats somthing that windows command prompt would say. other errors ive seen is that  "Task :deps:google:processReleaseResources FAILED" with the original r15c folder of ndk. il attatch logs for further more infromation of the problem.


New attachment added by brad288 - August 27, 2019, 01:08:10 pm


New attachment added by brad288 - August 27, 2019, 01:08:23 pm


Pages: 1

Details

  • Reported
    August 25, 2019, 08:30:41 pm
  • Updated
    August 27, 2019, 01:08:23 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Compiling/Testing Games

Tags


Attachments

* log-2019-08-24.zip (386.41 kB - downloaded 152 times.)
* log-2019-08-27_dep.google_ERROR.zip (119.09 kB - downloaded 147 times.)
* log-2019-08-27_Command_Error_Using_NDKr20.zip (127.59 kB - downloaded 154 times.)