• 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 YoYo Compiler "FAILED: Run Program Complete"...

E

EK1231

Guest
encountered an odd problem with the YoYo compiler - maybe someone can help shed some light on it? It'd be appreciated :D

It compressed textures and ran fine up until the very end - so I'm just showing this last part

It was built normally in the desktop version. However, problems arose after switching to the Android platform...šŸ˜­
-----------------------------------------------------------------------------
"cmd" /c subst Z: "C:\Users\cek12\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0498902s for command "cmd" /c subst Z: "C:\Users\cek12\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 12/21/2020 22:45:04
"cmd" /c subst Y: "C:\Users\cek12\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0497717s for command "cmd" /c subst Y: "C:\Users\cek12\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 12/21/2020 22:45:04
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.0.401"

elapsed time 00:00:00.0499998s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.0.401" started at 12/21/2020 22:45:04
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.0.401/bin/Igor.exe" -j=8 -options="C:\Users\cek12\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run

Loaded Macros from C:\Users\cek12\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\SCDgml_1A451BE9\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\cek12\AppData\Roaming/GameMakerStudio2\cek1231_2638134\local_settings.json
Options: C:\Users\cek12\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\SCDgml_1A451BE9\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="SCDgml" /td="Y:/" /cd="Z:/SCDgml_1A451BE9" /zpuf="C:\Users\cek12\AppData\Roaming/GameMakerStudio2\cek1231_2638134" /m=android /tgt=8 /studio /nodnd /cfg="Default" /fU="Z:/SCDgml_1A451BE9\functionsUsed.txt" /o="Y:/SCDgml_270D4E4D_VM" /optionsini="Y:/SCDgml_270D4E4D_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\cek12\Desktop\SCDgml - ģ°!\SCDgml.yyp" /preprocess="Z:/SCDgml_1A451BE9"
Found Project Format 2
ProjectFileWatcher:StartWatching:C:\Users\cek12\Desktop\SCDgml - ģ°!
Started: 2020-12-21 ģ˜¤ķ›„ 10:45:06
Finished: 2020-12-21 ģ˜¤ķ›„ 10:45:07
Diff: 00:00:00.9574072
Loaded Project: SCDgml
Already added instance
Already added instance
Already added instance
Already added instance
Already added instance
Already added instance
Already added instance
Already added instance
Already added instance
Already added instance
finished.
Release build
Options: Z:/SCDgml_1A451BE9\ExtensionOptions.json
PlatformOptions
Options: Z:/SCDgml_1A451BE9\PlatformOptions.json
Options: Z:/SCDgml_1A451BE9\MainOptions.json
runtime
OptionsIni
PlatformOptions
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="SCDgml" /td="Y:/" /cd="Z:/SCDgml_1A451BE9" /zpuf="C:\Users\cek12\AppData\Roaming/GameMakerStudio2\cek1231_2638134" /m=android /tgt=8 /studio /nodnd /cfg="Default" /fU="Z:/SCDgml_1A451BE9\functionsUsed.txt" /o="Y:/SCDgml_270D4E4D_VM" /optionsini="Y:/SCDgml_270D4E4D_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\cek12\Desktop\SCDgml - ģ°!\SCDgml.yyp" /arch=18 /bt=run /rt=vm
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... Y:/SCDgml_270D4E4D_VM\SCDgml.zip
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... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
1 Compressing texture... writing texture texture_1.png...
2 Compressing texture... writing texture texture_2.png...
3 Compressing texture... writing texture texture_3.png...
4 Compressing texture... writing texture texture_4.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Stats : GMA : Elapsed=2240.0479
Stats : GMA : sp=78,au=0,bk=0,pt=0,sc=4,sh=1,fo=7,tl=0,ob=53,ro=4,da=0,ex=0,ma=30,fm=0x4000A29C6BFC26A0
elapsed time 00:00:05.0250416s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.0.401/bin/Igor.exe" -j=8 -options="C:\Users\cek12\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run started at 12/21/2020 22:45:05
"cmd" /c subst Z: /d

elapsed time 00:00:00.0397882s for command "cmd" /c subst Z: /d started at 12/21/2020 22:45:10
"cmd" /c subst Y: /d

elapsed time 00:00:00.0401770s for command "cmd" /c subst Y: /d started at 12/21/2020 22:45:10
"cmd" /c subst X: /d

elapsed time 00:00:00.0498805s for command "cmd" /c subst X: /d started at 12/21/2020 22:45:10
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.
-----------------------------------------------------------------------------------------------------------------------------------
I need your help...
 

curato

Member
That looks like the visual studio doesn't match the required specs or isn't installed.

 
Double check if you've set up for Android export properly see : https://help.yoyogames.com/hc/en-us/articles/115001368727-Setting-Up-For-Android-or-Amazon-Fire, and make sure the relevant files aren't blocked by your antivirus.

FYI; I noticed @Nocturne updated the documentation recently. However, the image shown for the preference's Java JDK Location is showing as "jre" instead of 'jdk'. I'm not sure if it makes no difference. But as far as my noob knowledge, JDK and JRE have differences.
Untitled0.png

In my IDE, I'm using java "jdk" not "jre".
Untitled.png
 

MusNik

Member
That's probably because you have a Korean character in the project name.
Also check if you have something in the Compile Errors tab.

@SnortySnoopy, Android Studio version of Java is preferred now.
 
Top