Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Signed APK showing as Unsigned APK when trying to upload to production

I signed my APK in Android Studio 2.3 (build->generate signed APK). When I'm trying to upload it to Google Play store it is showing the error that I've uploaded unsigned APK. Could anyone answer why it is happening and how to solve it?

like image 573
Nani Kalyan Avatar asked Mar 05 '17 06:03

Nani Kalyan


People also ask

Why is APK unsigned?

Unsigned Apk, as the name suggests it means it is not signed by any Keystore. A Keystore is basically a binary file that contains a set of private keys. Every App that we install using the Google Play App Store needs to be signed with a Keystore.

What is the difference between signed and unsigned APKs?

Signing Android apps is just like signing any other application; it provides the user with some level of assurance that the code hasn't been tampered with since you released it. Unsigned apps should be usable generally but do require lowering the security level.

Can I upload unsigned APK to play store?

It is not possible to publish unsigned APK on Google Play. 5) Generate new signed APK using keyStore file provided by your developer 6) after generating new signed APK, you can update your existing google play application by new APK.

What is signed APK in Android Studio?

In Android Studio, you can configure your project to sign the release version of your app automatically during the build process by creating a signing configuration and assigning it to your release build type. A signing configuration consists of a keystore location, keystore password, key alias, and key password.


2 Answers

It uploaded successfully when I checked V1 (Jar Signature) instead of V2 (Full APK Signature) while generating the signed APK in Android Studio 2.3

like image 185
Nani Kalyan Avatar answered Oct 18 '22 09:10

Nani Kalyan


Android 7.0 introduces APK Signature Scheme v2, a new app-signing scheme that offers faster app install times and more protection against unauthorized alterations to APK files.

While generating signed apk there are two checkbox .

  1. V1 (Jar Signature)
  2. V2 (Full apk Signature)

There are three choices available to us:

  1. select V1 (For older version of signing) - apk gets uploaded successfully

  2. select V2 (For newer version of signing) - Please note that selecting this alone will not work.

  3. select V1 and V2 (For older and newer version) - apk gets uploaded successfully

Why selecting V2 alone does not work ?

Because APK Signature Scheme v2 was introduced in Android 7.0 (Nougat). To make a APK installable on Android 6.0 (Marshmallow) and older devices, the APK should be signed using JAR signing before being signed with the v2 scheme.

For more information jump here

like image 30
Piyush Kukadiya Avatar answered Oct 18 '22 08:10

Piyush Kukadiya