How to Sign an APK
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- yetneverdone
- Party member
- Posts: 446
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
How to Sign an APK
Hi, how can i sign an apk file made with the love2d android port?
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Re: How to Sign an APK
You can sign an already compiled apk:
create a key using:
then sign the apk using :
I also found this tool to sign APKs: https://github.com/patrickfav/uber-apk-signer
If you use this one you only need java8.
You can download the jar from here: https://github.com/patrickfav/uber-apk- ... tag/v0.7.0
Then just type:
create a key using:
Code: Select all
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
Code: Select all
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
If you use this one you only need java8.
You can download the jar from here: https://github.com/patrickfav/uber-apk- ... tag/v0.7.0
Then just type:
Code: Select all
java -jar uber-apk-signer.jar --apks /path/to/apks
- yetneverdone
- Party member
- Posts: 446
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: How to Sign an APK
Thanks. Is that all the procedure? So, i will do all of that after i use ant release?xNick1 wrote: ↑Wed May 24, 2017 9:57 am You can sign an already compiled apk:
create a key using:then sign the apk using :Code: Select all
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
I also found this tool to sign APKs: https://github.com/patrickfav/uber-apk-signerCode: Select all
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
If you use this one you only need java8.
You can download the jar from here: https://github.com/patrickfav/uber-apk- ... tag/v0.7.0
Then just type:Code: Select all
java -jar uber-apk-signer.jar --apks /path/to/apks
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Re: How to Sign an APK
You should be able to sign it also after deploying the apk.yetneverdone wrote: ↑Wed May 24, 2017 3:16 pmThanks. Is that all the procedure? So, i will do all of that after i use ant release?xNick1 wrote: ↑Wed May 24, 2017 9:57 am You can sign an already compiled apk:
create a key using:then sign the apk using :Code: Select all
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
I also found this tool to sign APKs: https://github.com/patrickfav/uber-apk-signerCode: Select all
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
If you use this one you only need java8.
You can download the jar from here: https://github.com/patrickfav/uber-apk- ... tag/v0.7.0
Then just type:Code: Select all
java -jar uber-apk-signer.jar --apks /path/to/apks
If you use that tool I linked you only need the second part:
Grab the jar of uber-apk.signer (it needs java8): https://github.com/patrickfav/uber-apk- ... tag/v0.7.0
Then just type:
Code: Select all
java -jar uber-apk-signer.jar --apks /path/to/apks
- yetneverdone
- Party member
- Posts: 446
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: How to Sign an APK
Using the first method, ive received:xNick1 wrote: ↑Wed May 24, 2017 6:28 pmYou should be able to sign it also after deploying the apk.yetneverdone wrote: ↑Wed May 24, 2017 3:16 pmThanks. Is that all the procedure? So, i will do all of that after i use ant release?xNick1 wrote: ↑Wed May 24, 2017 9:57 am You can sign an already compiled apk:
create a key using:then sign the apk using :Code: Select all
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
I also found this tool to sign APKs: https://github.com/patrickfav/uber-apk-signerCode: Select all
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
If you use this one you only need java8.
You can download the jar from here: https://github.com/patrickfav/uber-apk- ... tag/v0.7.0
Then just type:Code: Select all
java -jar uber-apk-signer.jar --apks /path/to/apks
If you use that tool I linked you only need the second part:
Grab the jar of uber-apk.signer (it needs java8): https://github.com/patrickfav/uber-apk- ... tag/v0.7.0
Then just type:Code: Select all
java -jar uber-apk-signer.jar --apks /path/to/apks
Code: Select all
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2044-10-10) or after any future revocation date.
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Who is online
Users browsing this forum: Bing [Bot] and 83 guests