• 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 Build app problems

D

Dxnxex

Guest
Hello,

I have few problems. First is I can sometimes compile and play my game on my phone Nokia 7 (Android 9)

Early of this day
I start game and nothing happened, just keep crashing, so I think there will be SDK problems.
so update my Android Studio SDKs and it self.

Now I just try to run it and it run with this settings:
Target SDK: 26
Min SDK: 16
Compile SDK: 26
Build Tools: 26.0.3
Support Lib: 26.0.0

Game Maker 1.4.9999 (Allways started as administrator)

OK I think everythink is OK and I start coding, then it comes. I do NOT change nothing in Global or Prefences and now I can´t run it again.

Compile started: 21:24:13
"C:\Users\Josef\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /fU="E:\Game Maker - Standalone\Temp\gm_ttt_21166\a56342.txt" /c /m=android /studio /config="Default" /tgt=8 /obob=True /obpp=False /obru=True /obes=False /i=3 /j=8 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=9999 /gn="wartowers" /td="E:\Game Maker - Standalone\Temp" /cd="E:\Game Maker - Standalone\Cache" /sh=True /dbgp="6502" /hip="192.168.10.253" /hprt="51268" /o="E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers" /optionsini="E:\Game Maker - Standalone\Temp\gm_ttt_21166\gm_ttt_85399\Exodus - War Towers.ini" "E:\Game Maker - Standalone\Projects\Exodus - War Towers.gmx\Exodus - War Towers.project.gmx"

Reading project file....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.
Saving IFF file... E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers\Exodus - War Towers.zip
Writing Chunk... GEN8
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... TPAGE
Texture Group - Default
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=2349,4018
Stats : GMA : sp=12,au=0,bk=1,pt=0,sc=37,sh=0,fo=2,tl=0,ob=15,ro=1,da=0,ex=0,ma=12,fm=0x821D4D380820
"E:\Android\platform-tools\adb" get-state

device
"E:\Android\platform-tools\adb" shell echo $INTERNAL_STORAGE


"E:\Android\platform-tools\adb" shell echo $EXTERNAL_STORAGE

/sdcard
"E:\Android\platform-tools\adb" get-state

device
"E:\Android\platform-tools\adb" shell echo $INTERNAL_STORAGE


"E:\Android\platform-tools\adb" shell echo $EXTERNAL_STORAGE

/sdcard
"E:\Android\platform-tools\adb" shell mkdir -p "/sdcard/GMstudio"

"E:\Android\platform-tools\adb" shell [ -d /sdcard/GMstudio ] && cd /sdcard/GMstudio; rm -r *;

rm: *: No such file or directory
"E:\Android\platform-tools\adb" push "E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers\\GameAssetsDROID.zip" /sdcard/GMstudio/GameAssetsDROID.zip

[ 6%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 13%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 20%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 27%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 34%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 41%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 48%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 55%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 62%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 69%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 76%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 83%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 90%] /sdcard/GMstudio/GameAssetsDROID.zip
[ 97%] /sdcard/GMstudio/GameAssetsDROID.zip
[100%] /sdcard/GMstudio/GameAssetsDROID.zip
E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers\\GameAssetsDROID.zip: 1 file pushed. 13.1 MB/s (937035 bytes in 0.068s)
"E:\Android\platform-tools\adb" push "E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers\\GameDownload.lock" /sdcard/GMstudio/GameDownload.lock

[100%] /sdcard/GMstudio/GameDownload.lock
E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers\\GameDownload.lock: 1 file pushed. 0.0 MB/s (13 bytes in 0.016s)
"E:\Android\platform-tools\adb" shell cat /system/build.prop

cat: /system/build.prop: Permission denied
FastCreate started: 21:24:19
FastCreate End End: 21:24:19
Compile finished: 21:24:19

and SOMETIMES if I compile it there is something more

cmd /c "subst Z: "E:\Game Maker - Standalone\Cache\wartowers\Android\Default" && Z: && cd \cz.tbi.wartowers && "C:\Users\Josef\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\gradlew" assembleRelease lint "


FAILURE: Build failed with an exception.

* What went wrong:
Task 'assembleRelease' not found in root project 'cz.tbi.wartowers'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.016 secs
cmd /c "subst /d Z:"

Lint Build report available at E:\Game Maker - Standalone\Cache\wartowers\Android\Default\cz.tbi.wartowers\build\outputs\lint-results.html
FastCreate End End: 21:41:51
Compile finished: 21:41:51

BTW can´t find this LINT result output folder (just do not exist)
if I test adb device (USB) I can find my device, but If I want it trought WIFI it will find nothing, just make this error:

Compile started: 21:45:04
"C:\Users\Josef\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /fU="E:\Game Maker - Standalone\Temp\gm_ttt_21166\a52385.txt" /c /m=android /studio /config="Default" /tgt=8 /obob=True /obpp=False /obru=True /obes=False /i=3 /j=8 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=9999 /gn="wartowers" /td="E:\Game Maker - Standalone\Temp" /cd="E:\Game Maker - Standalone\Cache" /sh=True /dbgp="6502" /hip="192.168.10.253" /hprt="51268" /o="E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers" /optionsini="E:\Game Maker - Standalone\Temp\gm_ttt_21166\gm_ttt_89325\Exodus - War Towers.ini" "E:\Game Maker - Standalone\Projects\Exodus - War Towers.gmx\Exodus - War Towers.project.gmx"

Reading project file....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.
Saving IFF file... E:\Game Maker - Standalone\Temp\gm_ttt_21166\Exodus_-_War_Towers\Exodus - War Towers.zip
Writing Chunk... GEN8
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... TPAGE
Texture Group - Default
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=2312,8663
Stats : GMA : sp=12,au=0,bk=1,pt=0,sc=37,sh=0,fo=2,tl=0,ob=15,ro=1,da=0,ex=0,ma=12,fm=0x821D4D380820
"E:\Android\platform-tools\adb" get-state

error: no devices/emulators found
Compile finished: 21:45:09

I had these problems even before GM 1.4 sunset, but I ignore it. Now I need help, it´s really anoying to make this nearly everytime I start GM. I dont know, but I think it´s maybe some connection problem between PC and phone in ADB.
 
Top