how to turn a game into an apk

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Yani354
Prole
Posts: 13
Joined: Wed May 24, 2023 5:21 pm

how to turn a game into an apk

Post 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.
User avatar
dusoft
Party member
Posts: 635
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: how to turn a game into an apk

Post by dusoft »

Yani354
Prole
Posts: 13
Joined: Wed May 24, 2023 5:21 pm

Re: how to turn a game into an apk

Post 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 3736 times
User avatar
marclurr
Party member
Posts: 146
Joined: Fri Apr 22, 2022 9:25 am

Re: how to turn a game into an apk

Post 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.
Yani354
Prole
Posts: 13
Joined: Wed May 24, 2023 5:21 pm

Re: how to turn a game into an apk

Post 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 3622 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 3622 times
I give up:
image_2023-09-25_193322956.png
image_2023-09-25_193322956.png (6.1 KiB) Viewed 3577 times
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 6 guests