Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android builds. #4

Open
MikuAuahDark opened this issue Mar 17, 2020 · 2 comments
Open

Android builds. #4

MikuAuahDark opened this issue Mar 17, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MikuAuahDark
Copy link

MikuAuahDark commented Mar 17, 2020

Android deployment is something that needed too. You can use this method as reference or as your building block: https://love2d.org/wiki/Game_Distribution/APKTool
I wrote that wiki page so if you have any questions just tell me.

However, Android deployment require user to have keystore. Self-signed certificate/keys are fine in Android as long as the APK is signed. So I think when adding Android support, keystore must be specified. For signing, https://github.com/patrickfav/uber-apk-signer can be used.

For changing the APK icon, you need ImageMagick or anything that can resize PNG images.

@pfirsich
Copy link
Owner

Hello!
I have never shipped a game on Android and don't intend to. I do not have any dev environment set up for it either, but I would be happy if you worked on this and created a PR! For resizing the image you can use PIL, which I already do in parts of the code instead of relying on an external tool.

@pfirsich pfirsich added enhancement New feature or request help wanted Extra attention is needed labels Mar 17, 2020
@bazilxp
Copy link

bazilxp commented Sep 17, 2020

For keystore it can be generated quite easily if speaking about self signed .

keytool -genkey -keyalg RSA -alias android --dname "CN=John Doe, OU=Developer, O=Indie Developer, L=California, ST=CA C=US" -keystore keystore.jks -storepass password -validity 3600 -keysize 2048 -deststoretype pkcs12

java -jar apk-tool/uber-apk-signer-1.1.0.jar --ks keystore.jks --ksAlias android --ksKeyPass password --ksPass password -a ./SuperGame.apk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants