• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Cannot compile project

P

Patrick van Dijk

Guest
Hi,

when i try to complie the project, i got the following errors:

Code:
Error : Android ARM64 ToolChain directory "" does not exist
Error : Android x86_64 ToolChain directory "" does not exist
Here is the console output:
Code:
"cmd"  /c subst Z: "C:\Users\patrickd\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0244300s for command "cmd" /c subst Z: "C:\Users\patrickd\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 07/18/2019 18:49:16
"cmd"  /c subst Y: "C:\Users\patrickd\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0205301s for command "cmd" /c subst Y: "C:\Users\patrickd\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 07/18/2019 18:49:16
"cmd"  /c subst W: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344"

elapsed time 00:00:00.0195515s for command "cmd" /c subst W: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344" started at 07/18/2019 18:49:16
Saving project to: C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest\AndroidActivityTest.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.3.344/bin/Igor.exe"  -j=8 -options="C:\Users\patrickd\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run

Loaded Macros from C:\Users\patrickd\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\AndroidAct_6FC94F60_BED820AB\macros.json
Options: W:/bin\platform_setting_defaults.json
Options: C:\Users\patrickd\AppData\Roaming/GameMakerStudio2\patrick.vandijk_129804\local_settings.json
Options: C:\Users\patrickd\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\AndroidAct_6FC94F60_BED820AB\targetoptions.json
W://bin/GMAssetCompiler.exe  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8  /gn="AndroidActivityTest" /td="Y:/" /cd="Z:/AndroidAct_6FC94F60_BED820AB" /zpuf="C:\Users\patrickd\AppData\Roaming/GameMakerStudio2\patrick.vandijk_129804" /m=llvm-android /tgt=8 /llvmSource="W://yyc/"  /nodnd /cfg="default" /fU="Z:/AndroidAct_6FC94F60_BED820AB\functionsUsed.txt" /o="Y:/AndroidActivityTest_2D9BA7F2_YYC" /optionsini="Y:/AndroidActivityTest_2D9BA7F2_YYC\options.ini" /baseproject="W:/BaseProject\BaseProject.yyp" "C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest\AndroidActivityTest.yyp" /preprocess="Z:/AndroidAct_6FC94F60_BED820AB"
Reading project file....C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest
Reading project file....W:\BaseProject
Reading config delta 'C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest\options\main\inherited\options_main.inherited.yy'
finished.


W://bin/GMAssetCompiler.exe DONE (0)
Release build
PlatformOptions
Options: Z:/AndroidAct_6FC94F60_BED820AB\PlatformOptions.json
Options: Z:/AndroidAct_6FC94F60_BED820AB\MainOptions.json
displayname
hostname
runtime
OptionsIni
PlatformOptions
W://bin/GMAssetCompiler.exe  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8  /gn="AndroidActivityTest" /td="Y:/" /cd="Z:/AndroidAct_6FC94F60_BED820AB" /zpuf="C:\Users\patrickd\AppData\Roaming/GameMakerStudio2\patrick.vandijk_129804" /m=llvm-android /tgt=8 /llvmSource="W://yyc/"  /nodnd /cfg="default" /fU="Z:/AndroidAct_6FC94F60_BED820AB\functionsUsed.txt" /o="Y:/AndroidActivityTest_2D9BA7F2_YYC" /optionsini="Y:/AndroidActivityTest_2D9BA7F2_YYC\options.ini" /baseproject="W:/BaseProject\BaseProject.yyp" "C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest\AndroidActivityTest.yyp" /arch=54 /bt=exe /rt=yyc
Reading project file....C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest
Reading project file....W:\BaseProject
Reading config delta 'C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Writing Chunk... TGIN
Writing Chunk... STRG
Writing Chunk... TXTR
Writing Chunk... AUDO
ClangExeLocation=\bin\clang++.exe
Error : Android x86_64 ToolChain directory "" does not exist
Error : Android ARM64 ToolChain directory "" does not exist
Using NDKDir = C:\Users\patrickd\AppData\Local\Android\Ndk
Using PlatformDir = C:\Users\patrickd\AppData\Local\Android\Ndk\platforms\android-19
Using ARMToolChain = C:\Users\patrickd\AppData\Local\Android\Ndk\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64
Using X86ToolChain = C:\Users\patrickd\AppData\Local\Android\Ndk\toolchains\x86-4.8\prebuilt\windows-x86_64
Using ARM64ToolChain =
Using X86_64ToolChain =
saving file Y:/AndroidActivityTest_2D9BA7F2_YYC\AndroidActivityTest.droid
Android NDK: Invalid APP_STL value: c++_shared   
C:/Users/patrickd/AppData/Local/Android/Ndk/build/core/add-application.mk:253: *** Android NDK: Aborting    .  Stop.
Android NDK: Please use one of the following instead:  system stlport_static stlport_shared gnustl_static gnustl_shared gabi++_static gabi++_shared libc++_static libc++_shared none   
Stats : GMA : Elapsed=379,3156
Stats : GMA : sp=0,au=0,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=0,ro=1,da=0,ex=0,ma=2,fm=0x0


W://bin/GMAssetCompiler.exe exited with non-zero status (2)
elapsed time 00:00:01.6335895s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.3.344/bin/Igor.exe" -j=8 -options="C:\Users\patrickd\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run started at 07/18/2019 18:49:16
"cmd"  /c subst Z: /d

elapsed time 00:00:00.0185748s for command "cmd" /c subst Z: /d started at 07/18/2019 18:49:17
"cmd"  /c subst Y: /d

elapsed time 00:00:00.0195521s for command "cmd" /c subst Y: /d started at 07/18/2019 18:49:17
"cmd"  /c subst W: /d

elapsed time 00:00:00.0195520s for command "cmd" /c subst W: /d started at 07/18/2019 18:49:17
FAILED: Run Program Complete
Saving project to: C:\Users\patrickd\Documents\GameMakerStudio2\AndroidActivityTest\AndroidActivityTest.yyp
I have installed Ândroid Studio 3.4.2, GameMaker 2.2.3.436 and all SDK and NDK packages are up to date.

I think there is a missing parameter (part of the console output):

Code:
Using ARM64ToolChain =
Using X86_64ToolChain =
Thank you,

Patrick
 
P

Patrick van Dijk

Guest
Okay. I found the solution. I point to an old ndk. New ndk is in the sdk directory.
 
Top