Create .apk File

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
p4s3r0
Prole
Posts: 4
Joined: Sun Jan 13, 2019 9:25 pm

Create .apk File

Post by p4s3r0 » Sun Jan 13, 2019 10:22 pm

Hi, i have two questions:
1. Can i build with my mac a .apk file? i already did, but it i cant execute it so i'm asking...
2. I build the .apk file and when i run it on my android, only a black screen appears.
Would appreciate some help! thx

User avatar
ReFreezed
Citizen
Posts: 64
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: Create .apk File

Post by ReFreezed » Mon Jan 14, 2019 10:52 pm

1. You can make .apk files on any operative system.
2. Please share your .apk file so people can help you find the problem instead of blindly guessing what the issue is.

The wiki may help you, if you didn't check it already.
Momento Temporis: Light from the Deep (metroidvania, wip)
Momento Temporis: Arena (multiplayer pvp arena, wip)
Energize! (puzzle, completed!)
"If each mistake being made is a new one, then progress is being made."

p4s3r0
Prole
Posts: 4
Joined: Sun Jan 13, 2019 9:25 pm

Re: Create .apk File

Post by p4s3r0 » Tue Jan 15, 2019 4:27 pm

I attached you my .apk File.

Gabriel Bras
Prole
Posts: 3
Joined: Sat Jul 15, 2017 4:44 am

Re: Create .apk File

Post by Gabriel Bras » Wed Jan 16, 2019 10:49 pm

Ok, so you used Start Game Dev, wich compiles the 10.1 version of love and you made your game for the version 11.2 of it.
Without a .love file I'm not sure if anyone can help you, but I have a guess.
One of the differences between these two versions is the range of the color values: before 11.0 version, this range was in 0~255 and now it is in 0~1, so try to make this conversion.
(Sorry for my English)

PGUp
Citizen
Posts: 78
Joined: Fri Apr 21, 2017 9:17 am

Re: Create .apk File

Post by PGUp » Thu Jan 17, 2019 10:54 am

-

p4s3r0
Prole
Posts: 4
Joined: Sun Jan 13, 2019 9:25 pm

Re: Create .apk File

Post by p4s3r0 » Thu Jan 17, 2019 10:31 pm

Thanks Gabriel Bras! You were right!
I had to change the color values [0-1] to [0-255].
It works now.
God bless you :D

User avatar
xNick1
Party member
Posts: 260
Joined: Wed Jun 15, 2016 8:27 am
Location: Rome, Italy

Re: Create .apk File

Post by xNick1 » Sat Jan 19, 2019 8:48 pm

p4s3r0 wrote:
Thu Jan 17, 2019 10:31 pm
Thanks Gabriel Bras! You were right!
I had to change the color values [0-1] to [0-255].
It works now.
God bless you :D
Google only accepts apps compiled with API26 or higher.
If you want to publish the game on the store you'll have to move to Love 11.2 and use the 0.11.x branch of the Android repo: https://bitbucket.org/MartinFelis/love- ... rc/master/
I used Start Game Dev kit in the past, it's great to test the game on the fly
Currently working on a lucid dreaming adventure called Aarstider: http://bit.ly/2mXmgPI

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests