• 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 Help Please!! Asset Compiler Trowing Error Code (1)

R

RogueAndWolf

Guest
When trying to compile my game on to windows, it compiles fine. no issues no worries. but this is going to be an android game, and when compiling on to android the Asset Compiler throws an error and i cant figure out what is causing it at all!

ALL help is much appreciated! and i thank you all for looking through this and taking the time to read this!

Have a wonderful day! :)

here is a full error log

"cmd" /c subst Z: "C:\Users\Game Dev\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0397716s for command "cmd" /c subst Z: "C:\Users\Game Dev\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 10/15/2018 14:19:51
"cmd" /c subst Y: "C:\Users\Game Dev\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0443798s for command "cmd" /c subst Y: "C:\Users\Game Dev\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 10/15/2018 14:19:51
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.261"

elapsed time 00:00:00.0357866s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.261" started at 10/15/2018 14:19:51
Saving project to: E:\StuffUsuallyOnCDrive\Desktop\The Game\Dress Up Game 01 - Alex first\DressUp.yyp
"C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.261/bin/Igor.exe" -options="C:\Users\Game Dev\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Android Run

Loaded Macros from C:\Users\Game Dev\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\DressUp_E24FCFD7\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Game Dev\AppData\Roaming/GameMakerStudio2\admin_1280256\local_settings.json
Options: C:\Users\Game Dev\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\DressUp_E24FCFD7\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=6 /gn="DressUp" /td="Y:/" /cd="Z:/DressUp_E24FCFD7" /zpuf="C:\Users\Game Dev\AppData\Roaming/GameMakerStudio2\admin_1280256" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/DressUp_E24FCFD7\functionsUsed.txt" /o="Y:/DressUp_7505412E_YYC" /optionsini="Y:/DressUp_7505412E_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "E:\StuffUsuallyOnCDrive\Desktop\The Game\Dress Up Game 01 - Alex first\DressUp.yyp" /preprocess="Z:/DressUp_E24FCFD7"
Reading project file....E:\StuffUsuallyOnCDrive\Desktop\The Game\Dress Up Game 01 - Alex first
Reading project file....X:\BaseProject
Reading config delta 'E:\StuffUsuallyOnCDrive\Desktop\The Game\Dress Up Game 01 - Alex first\options\main\inherited\options_main.inherited.yy'
finished.


X://bin/GMAssetCompiler.exe DONE (0)
Release build
PlatformOptions
Options: Z:/DressUp_E24FCFD7\PlatformOptions.json
Options: Z:/DressUp_E24FCFD7\MainOptions.json
displayname
hostname
runtime
working dir: C:\Program Files\GameMaker Studio 2
C:\Users\Game Dev\AppData\Local\Android\Sdk\platform-tools\adb devices
OptionsIni
PlatformOptions
working dir: C:\Program Files\GameMaker Studio 2
C:\Users\Game Dev\AppData\Local\Android\Sdk\platform-tools\adb -s "PL2GARD831313552" shell getprop ro.product.cpu.abilist
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=6 /gn="DressUp" /td="Y:/" /cd="Z:/DressUp_E24FCFD7" /zpuf="C:\Users\Game Dev\AppData\Roaming/GameMakerStudio2\admin_1280256" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/DressUp_E24FCFD7\functionsUsed.txt" /o="Y:/DressUp_7505412E_YYC" /optionsini="Y:/DressUp_7505412E_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "E:\StuffUsuallyOnCDrive\Desktop\The Game\Dress Up Game 01 - Alex first\DressUp.yyp" /arch=54 /bt=exe
Reading project file....E:\StuffUsuallyOnCDrive\Desktop\The Game\Dress Up Game 01 - Alex first
Reading project file....X:\BaseProject
Reading config delta 'E:\StuffUsuallyOnCDrive\Desktop\The Game\Dress Up Game 01 - Alex first\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.
Final Compile...finished.
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Converting GrayBackground_musicloop to Wav 16bit mono @ 44100Hz
Converting BlackandwhiteBackground_musicloop to Wav 16bit mono @ 44100Hz
Converting SpaceBackground_musicloop to Wav 16bit mono @ 44100Hz
Converting UrbanBackground_musicloop to Wav 16bit mono @ 44100Hz
Converting ParkBackground_musicloop to Wav 16bit mono @ 44100Hz
Converting Tray_Open to Wav 16bit mono @ 44100Hz
Converting Item_Drag to Wav 16bit mono @ 44100Hz
Converting Cat_Meow to Wav 16bit mono @ 44100Hz
Converting button_press to Wav 16bit mono @ 44100Hz
Converting Shutter to Wav 16bit mono @ 44100Hz
Writing Chunk... AGRP
Writing Chunk... SPRT
Warning : resource s_Intro_screen_ce7e7acc-20ff-44b3-b261-bc9637d33792 rescaled from 1440,2560 to 720,1280
Warning : resource s_tray_21535bf5-7110-4f05-8fbe-aabfcf649b19 rescaled from 1540,2560 to 770,1280
Warning : resource s_b_bg02_03507de8-f13e-4375-b91f-5e848b293fc9 rescaled from 1440,2560 to 720,1280
Warning : resource s_b_bg01_aa2008a2-8a20-4d00-855a-6a0a9b6adf57 rescaled from 1440,2560 to 720,1280
Warning : resource s_b_bg03_5d8e90ed-4693-428b-8221-70f2cf1fa420 rescaled from 1440,2560 to 720,1280
Warning : resource s_b_bg05_3bc4077b-17a1-4aac-8cc2-61e9bd8edd9f rescaled from 1440,2560 to 720,1280
Warning : resource s_b_bg04_07b6c174-c800-47c7-a708-33c5b49d9c4c rescaled from 1440,2560 to 720,1280
Warning : resource s_tray_colision_2f15a466-735f-4a4a-9029-5b852f4a8e5d rescaled from 1266,2560 to 633,1280
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... 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...
5 Compressing texture... writing texture texture_5.png...
6 Compressing texture... writing texture texture_6.png...
7 Compressing texture... writing texture texture_7.png...
8 Compressing texture... writing texture texture_8.png...
9 Compressing texture... writing texture texture_9.png...
10 Compressing texture... writing texture texture_10.png...
11 Compressing texture... writing texture texture_11.png...
12 Compressing texture... writing texture texture_12.png...
13 Compressing texture... writing texture texture_13.png...
14 Compressing texture... writing texture texture_14.png...
15 Compressing texture... writing texture texture_15.png...
16 Compressing texture... writing texture texture_16.png...
17 Compressing texture... writing texture texture_17.png...
18 Compressing texture... writing texture texture_18.png...
Writing Chunk... AUDO
Writing Audio Group Effects
Writing Audio Group Music
ClangExeLocation=C:\Program Files\Android\android-ndk-r17b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe
Using NDKDir = C:\Program Files\Android\android-ndk-r17b
Using PlatformDir = C:\Program Files\Android\android-ndk-r17b\platforms\android-28
Using ARMToolChain = C:\Program Files\Android\android-ndk-r17b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64
Using X86ToolChain = C:\Program Files\Android\android-ndk-r17b\toolchains\x86-4.9\prebuilt\windows-x86_64
Using ARM64ToolChain = C:\Program Files\Android\android-ndk-r17b\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64
Using X86_64ToolChain = C:\Program Files\Android\android-ndk-r17b\toolchains\x86_64-4.9\prebuilt\windows-x86_64
saving file Y:/DressUp_7505412E_YYC\DressUp.droid
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Stats : GMA : Elapsed=62997.6297
Stats : GMA : sp=321,au=10,bk=0,pt=0,sc=24,sh=0,fo=5,tl=0,ob=106,ro=5,da=3,ex=5,ma=31,fm=0x1000B21D4D7D2630


X://bin/GMAssetCompiler.exe exited with non-zero status (1)
elapsed time 00:01:06.9373262s for command "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.261/bin/Igor.exe" -options="C:\Users\Game Dev\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Android Run started at 10/15/2018 14:19:51
"cmd" /c subst Z: /d

elapsed time 00:00:00.0429804s for command "cmd" /c subst Z: /d started at 10/15/2018 14:20:58
"cmd" /c subst Y: /d

elapsed time 00:00:00.0360508s for command "cmd" /c subst Y: /d started at 10/15/2018 14:20:58
"cmd" /c subst X: /d

elapsed time 00:00:00.0395612s for command "cmd" /c subst X: /d started at 10/15/2018 14:20:58
FAILED: Run Program Complete
 
Have you tried putting your Android NDK in a folder that is not inside "Program Files", and in a folder without a space in the name? Only asking, as this line:
'C:\Program' is not recognized as an internal or external command,
looks like it is having a problem with the folder having a space in it so it can't read "Program FIles", and instead reads it just as "Program".
 
R

RogueAndWolf

Guest
Have you tried putting your Android NDK in a folder that is not inside "Program Files", and in a folder without a space in the name? Only asking, as this line:

looks like it is having a problem with the folder having a space in it so it can't read "Program FIles", and instead reads it just as "Program".
YOU my sir! are a god damn life saver!!

THANK YOU!
 
Top