• 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 Android Compile Failed

N

nonochan

Guest
Hi, I got a Android compile failed problem,

Code:

"cmd" /c subst Z: "F:\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.1030917s for command "cmd" /c subst Z: "F:\GameMakerStudio2\Cache\GMS2CACHE" started at 06/11/2020 21:12:27
"cmd" /c subst Y: "F:\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.1050953s for command "cmd" /c subst Y: "F:\GameMakerStudio2\GMS2TEMP" started at 06/11/2020 21:12:27
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.5.378"

elapsed time 00:00:00.0900866s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.5.378" started at 06/11/2020 21:12:28
Saving project to: F:\GM2 Project\Box Puzzle\Box Puzzle.yyp
Saving 44 resources
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="F:\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run

Loaded Macros from F:\GameMakerStudio2\Cache\GMS2CACHE\Box_Puzzle_E20CA283\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\NONO\AppData\Roaming/GameMakerStudio2\amuronamie520_2372500\local_settings.json
Options: F:\GameMakerStudio2\Cache\GMS2CACHE\Box_Puzzle_E20CA283\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Box Puzzle" /td="Y:/" /cd="Z:/Box_Puzzle_E20CA283" /zpuf="C:\Users\NONO\AppData\Roaming/GameMakerStudio2\amuronamie520_2372500" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/Box_Puzzle_E20CA283\functionsUsed.txt" /o="Y:/Box_Puzzle_3948F373_YYC" /optionsini="Y:/Box_Puzzle_3948F373_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "F:\GM2 Project\Box Puzzle\Box Puzzle.yyp" /preprocess="Z:/Box_Puzzle_E20CA283"
Reading project file....F:\GM2 Project\Box Puzzle
Reading project file....X:\BaseProject
Reading config delta 'F:\GM2 Project\Box Puzzle\options\main\inherited\options_main.inherited.yy'
finished.


X://bin/GMAssetCompiler.exe DONE (0)
Release build
Options: Z:/Box_Puzzle_E20CA283\ExtensionOptions.json
PlatformOptions
Options: Z:/Box_Puzzle_E20CA283\PlatformOptions.json
Options: Z:/Box_Puzzle_E20CA283\MainOptions.json
displayname
hostname
runtime
OptionsIni
PlatformOptions
X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Box Puzzle" /td="Y:/" /cd="Z:/Box_Puzzle_E20CA283" /zpuf="C:\Users\NONO\AppData\Roaming/GameMakerStudio2\amuronamie520_2372500" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/Box_Puzzle_E20CA283\functionsUsed.txt" /o="Y:/Box_Puzzle_3948F373_YYC" /optionsini="Y:/Box_Puzzle_3948F373_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "F:\GM2 Project\Box Puzzle\Box Puzzle.yyp" /arch=16 /bt=exe /rt=yyc
Reading project file....F:\GM2 Project\Box Puzzle
Reading project file....X:\BaseProject
Reading config delta 'F:\GM2 Project\Box Puzzle\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
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
ClangExeLocation=F:\Android SDK\ndk\21.3.6528147\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe
Using NDKDir = F:\Android SDK\ndk\21.3.6528147
Using PlatformDir = F:\Android SDK\ndk\21.3.6528147\platforms\android-30
Using ARM64ToolChain = F:\Android SDK\ndk\21.3.6528147\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64
saving file Y:/Box_Puzzle_3948F373_YYC\Box Puzzle.droid
'F:\Android' is not recognized as an internal or external command,
operable program or batch file.
Stats : GMA : Elapsed=727.6607
Stats : GMA : sp=22,au=0,bk=1,pt=0,sc=0,sh=0,fo=0,tl=0,ob=18,ro=4,da=0,ex=0,ma=95,fm=0xA00408680020


X://bin/GMAssetCompiler.exe exited with non-zero status (1)
elapsed time 00:00:02.5336947s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="F:\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run started at 06/11/2020 21:12:28
"cmd" /c subst Z: /d

elapsed time 00:00:00.0820751s for command "cmd" /c subst Z: /d started at 06/11/2020 21:12:30
"cmd" /c subst Y: /d

elapsed time 00:00:00.0870793s for command "cmd" /c subst Y: /d started at 06/11/2020 21:12:30
"cmd" /c subst X: /d

elapsed time 00:00:00.0830753s for command "cmd" /c subst X: /d started at 06/11/2020 21:12:30
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

rIKmAN

Member
Using ARM64ToolChain = F:\Android SDK\ndk\21.3.6528147\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64
<snip>
'F:\Android' is not recognized as an internal or external command,
Remove the space from the path where you have your Android SDK.
ie. Name the folder 'AndroidSDK' and not 'Android SDK' with a space in it.

Remember to update the path in the GMS2 Preferences, and clean the cache before you try to recompile.
 
Top