Page 1 of 1

how to turn a game into an apk

Posted: Tue Sep 19, 2023 11:58 pm
by Yani354
I have a problem.
I want to make my game for an android but i can't find any tutorials that are good
can someone explain to me how to make my game into an apk.

Re: how to turn a game into an apk

Posted: Wed Sep 20, 2023 3:20 pm
by dusoft

Re: how to turn a game into an apk

Posted: Thu Sep 21, 2023 9:01 pm
by Yani354
dusoft wrote: Wed Sep 20, 2023 3:20 pm Have you tried this?
https://github.com/love2d/love-android
Yes i have and it doesn't work.
I tried this tutorial https://youtu.be/vsRnFMMhr58?si=ZfT28lgAf6dj4vvj
but at the 14:30 minute at the "./gradlew assembleNormal" it doesnt work.

i got this error
Screenshot_1.png
Screenshot_1.png (41.49 KiB) Viewed 3738 times

Re: how to turn a game into an apk

Posted: Fri Sep 22, 2023 8:09 am
by marclurr
That looks like some Java or Gradle version mismatching to me. Double check the versions of the tools you have are all compatible with each other.

Edit: You could try deleting the Gradle cache (directory under .gradle) and rerunning it. If you've had a few different versions of the tools running at different points one might have cached a file that's incompatible with the one you're now using. The first line mentioning the incompatible Gradle Daemon also points to this.

Re: how to turn a game into an apk

Posted: Sun Sep 24, 2023 3:18 pm
by Yani354
marclurr wrote: Fri Sep 22, 2023 8:09 am That looks like some Java or Gradle version mismatching to me. Double check the versions of the tools you have are all compatible with each other.

Edit: You could try deleting the Gradle cache (directory under .gradle) and rerunning it. If you've had a few different versions of the tools running at different points one might have cached a file that's incompatible with the one you're now using. The first line mentioning the incompatible Gradle Daemon also points to this.
I fixed the java and gradle versions but when i start the process this happens:
Screenshot_3.png
Screenshot_3.png (5.72 KiB) Viewed 3624 times
it just frezes and stop executing
does this normaly happens

Edit:
i will inform if ther's any updates

Update:
Screenshot_4.png
Screenshot_4.png (4.74 KiB) Viewed 3624 times
I give up:
image_2023-09-25_193322956.png
image_2023-09-25_193322956.png (6.1 KiB) Viewed 3579 times