Can not compile APK Android

J

Jeroen

Guest
Hi!

Hope you are doing good! And forward thanks for you time,
I am trying to create a application for my Android phone, but when trying to compile i am giving a Compile error.

After a lot of hours trying to fix it i can't find where it is going wrong, here is some data if you would like to have a look.

When i look in settings of gamemaker/android. Everything is checked ''oke''. Thanks again for looking, a 1000 thanks for the solution!

"C:\Users\jwoll\AppData\Roaming\GameMaker_Studio\GMAssetCompiler.exe" /fU="C:\Users\jwoll\AppData\Local\gm_ttt_1296\a55477.txt" /c /m=android /config="Default" /tgt=8 /tg="C:\Users\jwoll\AppData\Local\gm_ttt_1296\\TextureGroups.txt" /to="C:\Users\jwoll\AppData\Local\gm_ttt_1296\\TextureOptions.txt" /obob=True /obpp=False /obru=True /obes=False /i=3 /cvm /tp=1024 /mv=1 /iv=0 /rv=0 /bv=1567 /gn="Veg_Ninja_Swipe_Demo1" /td="C:\Users\jwoll\AppData\Local" /cd="C:\Users\jwoll\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="127.0.0.1" /hprt="51268" /optionsini="C:\Users\jwoll\AppData\Local\gm_ttt_1296\gm_ttt_4825\Veg_Ninja_Swipe_Demo1.ini" /o="C:\Users\jwoll\AppData\Local\gm_ttt_1296\gm_ttt_4825" "C:\Users\jwoll\Documents\GameMaker\Projects\Veg_Ninja_Swipe_Demo1.gmx\Veg_Ninja_Swipe_Demo1.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\jwoll\AppData\Local\gm_ttt_1296\gm_ttt_4825\Veg_Ninja_Swipe_Demo1.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...
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... STRG
Stats : GMA : Instance=15, Global=18
cmd /c ""C:\Users\jwoll\AppData\Roaming\GameMaker_Studio\Android\apache-ant-1.8.2\bin\ant.bat" -Dsdk.dir="C:\Users\jwoll\AppData\Local\Android\Sdk" -DYOYO_ANDROID_RUNNER_SOURCE="..\..\gm_ttt_1296/SDKLibs" clean release"

Buildfile: C:\Users\jwoll\AppData\Local\gm_ttt_1296\gm_ttt_2868\build.xml

BUILD FAILED
C:\Users\jwoll\AppData\Local\gm_ttt_1296\gm_ttt_2868\build.xml:83: Cannot find C:\Users\jwoll\AppData\Local\Android\Sdk\tools\ant\build.xml imported from C:\Users\jwoll\AppData\Local\gm_ttt_1296\gm_ttt_2868\build.xml


Total time: 0 seconds
The Api/extra's i got installed

Android SDK TOOLS rev 25.2.5
Android SDK PLATFORM-TOOLS rev25.0.4
Android SDK build-tools rev 25.0.2
Android SDK build-tools rev 24.0.1

Android 7.1.1 (API 25)
SDK PLATFORM
Sources for android SDK

Android 7.0 (API 24)
-SDK PLATFORM

ANDROID 6.0 (API 23)
- SDK PLATFORM
- GOOGLE APIS

ANDROID 4.0 (API14)
- SDK Platform

Extra's -
Android Support Repository
Google play services
google repository
Google play APK expansion Library
Google play licensing Library
Google play billing library
Google Usb driver
 

Genetix

Member
Have you made sure that all updates are installed in the Android SDK You may need a lot more then just API 23-25 and 14 installed) to build.

Also may have to check the permissions on C:\Users\jwoll\AppData\Local\gm_ttt_1296\gm_ttt_2868\ and make sure it is able to read/write there.
 
L

Lysho

Guest
What API does your mobile device use? I was running the wrong API for my device and that's why it couldn't compile. You really just need the API for the device you're testing the game on.
 
Top