Failed to load signer "signer #1"
See original GitHub issueStackTrace:
Verification succesful
/bin/cp app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk
/usr/local/lib/android/sdk/build-tools/29.0.3/apksigner sign --ks app/build/outputs/apk/release/signingKey.jks --ks-key-alias *** --ks-pass pass: --out app/build/outputs/apk/release/app-release-unsigned-signed.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk
Failed to load signer "signer #1"
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:661)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:57)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:71)
at java.security.KeyStore.load(KeyStore.java:1445)
at com.android.apksigner.SignerParams.loadKeyStoreFromFile(SignerParams.java:353)
at com.android.apksigner.SignerParams.loadPrivateKeyAndCertsFromKeyStore(SignerParams.java:239)
at com.android.apksigner.SignerParams.loadPrivateKeyAndCerts(SignerParams.java:181)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:277)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:83)
Error: The process '/usr/local/lib/android/sdk/build-tools/29.0.3/apksigner' failed with exit code 2
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:14
Top Results From Across the Web
Failed to load signer on Xamarin.Android - Stack Overflow
For me this issue was that I have the folder in One Drive and I have set the option for saving space, so...
Read more >Error: Failed to load signer "signer #1" - Construct 3
I've got a problem with Building signed APK for Android. I've made everything according to this article: And build failed.
Read more >Issue with manually signing a Xamarin.Android apk
Keystore password for signer #1: Failed to load signer "signer #1" java.io.FileNotFoundException: esm.keystore (The system cannot find the ...
Read more >APK signing problem with Visual Studio version 7.4 and ...
"Failed to load signer "signer #1": ../../certificates/Android/default.keystore entry "(redacted)" does not contain a key".
Read more >Android export: `'apksigner' returned with error #1` and `error ...
In particular, Failed to load signer "signer #1": C:/Users/user/.android/debug.keystore entry "debug.keystore" does not contain a key is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I’ve tested this action to sign my apk. This issue is caused when wrong “signingKeyBase64” is provided. Solution: run in your terminal:
openssl base64 -in your_keystore.keystore -out key.txt
and then copy the output content to your signingKeyBase64 secret. Hope it can help youUsing the below command worked for me, it printed the key in console and i copied that. openssl base64 -in your_keystore.keystore