4

I developed my app in Android Studio 3.4. Now I need to release the v1 of my app on playstore and I have this error:

You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR: JAR_SIG_NO_SIGNATURES: No JAR signatures

2 Answers 2

7

When exporting your APK, you need to check the V2 signature box so that google play knows that you're the one who signed it.

Signiatures

3
  • 2
    This isn't working for me. No matter what i do, whether I buidl my signed apk with just V1, just V2, or both... I'll always get the JAR_SIG_NO_SIGNATURE error. Jul 2, 2019 at 13:17
  • This was the best solution Jul 2, 2019 at 19:04
  • 2
    This was not working for me until I first ran "Clean Build" within Android Studio. After cleaning, it worked.
    – Brennan
    Apr 3, 2020 at 1:04
1

This happened to me after I changed the build variant to release and then hit the green play button and then attempted to upload the resultant apk from the auto-generated build folder.

Instead, after a clean/rebuild (which will erase that auto-generated build folder), make sure to use Build * Generate Signed APK (and check off signing for both v1 and v2). That will generate signed APKs in e.g. app/free/release. The Play Store should accept this APK. Also, go into the build folder and save the mappings from app/build/output so you can deobfuscate a stack trace from any errors that come up for your users.

(Not sure why Google doesn't save the mapping in the same folder tree as the signed APK...)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.