A tool in the Android SDK Build Tools which allows you to create and confirm APK signatures
Questions tagged [apksigner]
67 questions
1
vote
1 answer
"ZIP End of Central Directory record not found" error using Apksigner
I am using apksigner binary that comes with android build tools (29.0.2). First, i upload an unsigned apk file to Artifactory as a part of CI/CD process. In signing phase, i download the apk from Artifactory (that is successfull), and trying to sign…

metzelder
- 655
- 2
- 15
- 35
1
vote
1 answer
Sign an apk using keytool
I want to sign an apk file using keytool , I have a public certificate .cer file and a private key .pem
I used to use the android studio wizard to sign apk , now I have no idea how to do it.

Anass Boukalane
- 539
- 10
- 26
1
vote
0 answers
What is purpose of having more than 1 signer for Android Apksigner signature Scheme V2
Android Apksigner mentions that signature Scheme V2 supports multiple signers.
I would like to know what is the purpose of having 2 signers because of my following concerns.
When using jarsigner to sign Android APKs, we could sign using more than…

sagar Choudhari
- 11
- 6
1
vote
2 answers
apksigner returns back with nothing
as you can see from the title I am having difficulty getting apksigner to work. I have tried using the terminal in android studio and the command line however they both seem to return exactly the same; with nothing.
No matter what I type in I end up…

Thinzy
- 23
- 2
1
vote
2 answers
Is it possible to add a new signature to an existing app?
After reading the Signature Scheme v2 documentation here i was wondering if i can add a new signature to my current application.
Just to elucidate i have an App version 1.0 with Signature key "A". I want to send an update (version 2.0) with both…

Amaro
- 501
- 5
- 10
1
vote
1 answer
Reducing app updates size on google play store
Now most of the apps update size is much smaller than app download size but unfortunately I am not able to get this feature in my app however I have added following code in my app's build.gradle file but still I am not able to get the desired…

Krishna Meena
- 5,693
- 5
- 32
- 44
1
vote
1 answer
Android SHA256 signature algorythm with certificate having a SHA1 algorythm
My question is somewhat a follow up of this one: Can I specify digest algorithm apksigner uses?
I'm signign an APK with apksigner and following reccomandations on above post, I raised the minSDK to 18+. As expected the resulting MANIFEST.MF and…

gbaccetta
- 4,449
- 2
- 20
- 30
1
vote
1 answer
Do apksigner supports timestamp server argument?
jarsigner allows to provide the timestamp server as an argument (-tsa) but apksigner timestamp server argument seems to be missing.
apksigner don't support timestamp server argument?
apksigner don't need timestamp server argument?

Ananth Ramasamy Meenachi
- 785
- 1
- 9
- 26
1
vote
1 answer
Is apksigner compliant with JCE (Java Cryptography Extension) specification?
Is apksigner tool that comes along with Android SDK Build Tools compliant with JCE (Java Cryptography Extension) specification?

Ananth Ramasamy Meenachi
- 785
- 1
- 9
- 26
1
vote
3 answers
Sign and upload apk with my signature
I am facing an issue with my project. I have developed an app by developer and uploaded signed apk signed by developer's signature. Now I have updated some code myself and want to upload it on playstore with my own signature. Can I do this or not if…

DkThakur
- 516
- 2
- 5
- 17
0
votes
0 answers
Cannot start Appium on Device because of apk sign
I’m encountering a problem in a terminal device that has Android 10 where my app is running. I tried to run appium and got the next error, it installed de Appium Settings apk successfully after signing it with the provided key and repeated the…
0
votes
0 answers
Error message when using apksigner to verify APK file
I want to verify the fingerprint of an APK file with the apksigner tool.
With some APK files, this command gives me the desired output:
apksigner verify –print-certs filename.apk
But with other APK files, the same command gives me this error…

b00kgrrl
- 559
- 2
- 9
- 30
0
votes
1 answer
Sign an apk with signature of another signed apk using apksigner
I have an unsigned apk A.apk and an signed apk B.apk
Using apksigner tool is it possible to sign A.apk with same signature of B.apk.
What are the exact commands to do this?
Thanks in advance for any help.

Debesh Mohanty
- 469
- 1
- 5
- 18
0
votes
0 answers
How can we use apksigner v3.1 for signing a apk?
I want v3.1 set as true.
i have tried
apksigner sign --ks "C:\myKeyStorefortesting2.jks" --ks-key-alias myKeyStorefortesting2 --v1-signing-enabled true --v2-signing-enabled true --v3-signing-enabled true…

Abhay Jadon
- 11
- 2
0
votes
0 answers
Apk appears to be invalid error while installing signed apk in Android 12
I checked different answers but didn't find any solution working. I am still facing apk appears to be invalid error in Android 12. It installs in one Android 12 Samsung device but not in other with same OS and manufacturer. I tried uninstalling all…

TechHelper
- 822
- 10
- 24