Main forum > Bug Reports

Android compile error

(1/3) > >>

MrPlow:
When compiling a new clean project
=======================
Build command failed.
Error while executing process C:\Android\android-sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\Lenovo\Documents\GL_PROJECTS\GLBasic\NEWGAME\distribute\android_studio\app\jni\Android.mk NDK_APPLICATION_MK=C:\Users\Lenovo\Documents\GL_PROJECTS\GLBasic\NEWGAME\distribute\android_studio\app\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-23 NDK_OUT=C:/Users/Lenovo/Documents/GL_PROJECTS/GLBasic/NEWGAME/distribute/android_studio/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=C:\Users\Lenovo\Documents\GL_PROJECTS\GLBasic\NEWGAME\distribute\android_studio\app\build\intermediates\ndkBuild\release\lib APP_PLATFORM=android-18 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}

usage: ldflags_to_sanitizers.py [GLOBAL_FLAGS] --module [MODULE_FLAGS] [--module [MODULE_FLAGS]...]
C:/Android/android-sdk/ndk-bundle/build//../build/core/build-all.mk:94: Android NDK: WARNING: There are no modules to build in this project!   
C:/Android/android-sdk/ndk-bundle/build//../build/core/setup-toolchain.mk:127: COLOR\distribute\android_studio\app\jni\Android.mk: No such file or directory
make: *** No rule to make target 'COLOR\distribute\android_studio\app\jni\Android.mk'.  Stop.

MrPlow:
Okay, might have solved the problem for now...

Seems the Android build process does not like [spaces] in the parent project folder  =D

spacefractal:
property "" is missing somewhere. this is normal with spaces when those is forgot. no idea where.

Which path was it? Im should warns about it in the glbasic compiler if a space is used.

MrPlow:
It was the GLB project folder name - the parent of the GLB code

Also, KEY(1) is not working for me now

Also ad show with javacall is crashing for me - is there something I need to add for new changes you made to interstitial ads to work?

spacefractal:
I'm haven't touched the KEY()? Im did do fighted to get right java ads file (that one that only uses init() with no arguments. For any ads relative crash im do need the full log from the logcat around the crash, or im have no change to take a look what happens.

here Spot Race does also not works with ads too, but PowerUp Elevation does works. This is just a fault from my side as the ads init ID seens have been changed or strings.xml got resetted.

Also do NOT touch any glbasic relative sound or graphics commands in both SUB GLB_ON_PAUSE: and GLB_ON_RESUME: functions at all (even FPSLIMIT might crash)! If you do that, then its might crash when you show a ads or when you quit it! Im did warn about that througt.

This was the key issue why im choosen to added soundpool for alternative music player (just a change in strings.xml needed), so java automatic could pause and resume it...... not currectly possible with sdl_mixer (as its will crash).

Also JavaCall$() is no longer usable, but just rename and use JavaCall2$ instead.

Navigation

[0] Message Index

[#] Next page

Go to full version