_r3unite_
Member
I'm still on GMS 1.4 and i'm trying to make an apk executable.
I downloaded Android Studio and everything as it says on yoyogames documentation. Set up NDK and SDK
*NOTE* I tweaked as when i dowloaded the old (says obsolete in Android Studio) NDK there was no "platforms" folder in it. So i copied the platforms folder from /Sdk/ to /Sdk/ndk-bundle and set it as the path in GMS.
When i try to run the game with my phone connected via usb ADB. Works fine.
I have a few questions.
1. BUILD FAILED ERROR when trying to make excecutable
I tried copying the build.xml file to the location "C:\Users\komar\AppData\Local\Android\Sdk\tools\ant", but no success.. got a new error:
The only place i found the exact same situation is here:
and here:
No solutions.
At this point i'm asking for any suggestions. Should i switch to gms2? Or unity?
2. Since i bought a registration in Google Play Developer Console i found out they don't accept APK's anymore. How can i make it output AAB? Can i?
3. Can I integrate IAP and other google play services in my game?
PLEASE HELP
I downloaded Android Studio and everything as it says on yoyogames documentation. Set up NDK and SDK
*NOTE* I tweaked as when i dowloaded the old (says obsolete in Android Studio) NDK there was no "platforms" folder in it. So i copied the platforms folder from /Sdk/ to /Sdk/ndk-bundle and set it as the path in GMS.
When i try to run the game with my phone connected via usb ADB. Works fine.
I have a few questions.
1. BUILD FAILED ERROR when trying to make excecutable
"C:\Users\komar\AppData\Roaming\GameMaker_Studio\GMAssetCompiler.exe" /fU="C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\a58277.txt" /c /m=android /config="Default" /tgt=8 /tg="C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\\TextureGroups.txt" /to="C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\\TextureOptions.txt" /obob=True /obpp=False /obru=True /obes=False /i=3 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=1567 /gn="FilmTycoon" /td="C:\Users\komar\AppData\Local\Temp" /cd="C:\Users\komar\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="127.0.0.1" /hprt="51268" /optionsini="C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_86874\FilmTycoon-Default-1.0.0.ini" /o="C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_86874" "C:\Users\komar\Documents\GameMaker\Projects\FilmTycoon.gmx\FilmTycoon.project.gmx"
Reading project file....finished.
Remove DnD...finished.
Compile Constants...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Final Compile...finished.
Saving IFF file... C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_86874\FilmTycoon.droid
Writing Chunk... GEN8
Writing Chunk... OPTN
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... TPAGE
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... STRG
Stats : GMA : Instance=36, Global=0
cmd /c ""C:\Users\komar\AppData\Roaming\GameMaker_Studio\Android\apache-ant-1.8.2\bin\ant.bat" -Dsdk.dir="C:\Users\komar\AppData\Local\Android\Sdk" -DYOYO_ANDROID_RUNNER_SOURCE="..\..\gm_ttt_63734/SDKLibs" clean release"
Buildfile: C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_69306\build.xml
BUILD FAILED
C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_69306\build.xml:83: Cannot find C:\Users\komar\AppData\Local\Android\Sdk\tools\ant\build.xml imported from C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_69306\build.xml
Total time: 0 seconds
Reading project file....finished.
Remove DnD...finished.
Compile Constants...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Final Compile...finished.
Saving IFF file... C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_86874\FilmTycoon.droid
Writing Chunk... GEN8
Writing Chunk... OPTN
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... TPAGE
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... STRG
Stats : GMA : Instance=36, Global=0
cmd /c ""C:\Users\komar\AppData\Roaming\GameMaker_Studio\Android\apache-ant-1.8.2\bin\ant.bat" -Dsdk.dir="C:\Users\komar\AppData\Local\Android\Sdk" -DYOYO_ANDROID_RUNNER_SOURCE="..\..\gm_ttt_63734/SDKLibs" clean release"
Buildfile: C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_69306\build.xml
BUILD FAILED
C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_69306\build.xml:83: Cannot find C:\Users\komar\AppData\Local\Android\Sdk\tools\ant\build.xml imported from C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_69306\build.xml
Total time: 0 seconds
I tried copying the build.xml file to the location "C:\Users\komar\AppData\Local\Android\Sdk\tools\ant", but no success.. got a new error:
Stats : GMA : Instance=36, Global=0
cmd /c ""C:\Users\komar\AppData\Roaming\GameMaker_Studio\Android\apache-ant-1.8.2\bin\ant.bat" -Dsdk.dir="C:\Users\komar\AppData\Local\Android\Sdk" -DYOYO_ANDROID_RUNNER_SOURCE="..\..\gm_ttt_63734/SDKLibs" clean release"
Buildfile: C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_58195\build.xml
BUILD FAILED
Target "clean" does not exist in the project "RunnerActivity".
Total time: 0 seconds
cmd /c ""C:\Users\komar\AppData\Roaming\GameMaker_Studio\Android\apache-ant-1.8.2\bin\ant.bat" -Dsdk.dir="C:\Users\komar\AppData\Local\Android\Sdk" -DYOYO_ANDROID_RUNNER_SOURCE="..\..\gm_ttt_63734/SDKLibs" clean release"
Buildfile: C:\Users\komar\AppData\Local\Temp\gm_ttt_63734\gm_ttt_58195\build.xml
BUILD FAILED
Target "clean" does not exist in the project "RunnerActivity".
Total time: 0 seconds
The only place i found the exact same situation is here:
Android - Cant export on Android: Cant find build.xml - PLEASE HELP ME
I had some issues with android exporting a few days ago but I mannaged to fix it reainstalling all the NDK and SDK again with Android Studio. Today I've tried exporting my android game and I get this error: C:\Users\carlo\AppData\Local\gm_ttt_27421\gm_ttt_92132\build.xml:83: Cannot find...
forum.yoyogames.com
and here:
Android - build error Target "clean" does not exist in the project "RunnerActivity"
I'm trying to export my game as an android APK file and have managed to get the SDK and NDK working, and the build.xml file in the right place, but now I'm getting this error: Target "clean" does not exist in the project "RunnerActivity" And I can't find a solution to it anywhere on the 'net...
forum.yoyogames.com
No solutions.
At this point i'm asking for any suggestions. Should i switch to gms2? Or unity?
2. Since i bought a registration in Google Play Developer Console i found out they don't accept APK's anymore. How can i make it output AAB? Can i?
3. Can I integrate IAP and other google play services in my game?
PLEASE HELP