Difference Between Signature Versions - V1 (Jar Signature) and V2 (Full APK Signature) While Generating a Signed APK in Android Studio

Difference between signature versions - V1 (Jar Signature) and V2 (Full APK Signature) while generating a signed APK in Android Studio?

It is a new signing mechanism introduced in Android 7.0, with additional features designed to make the APK signature more secure.

It is not mandatory. You should check BOTH of those checkboxes if possible, but if the new V2 signing mechanism gives you problems, you can omit it.

So you can just leave V2 unchecked if you encounter problems, but should have it checked if possible.

UPDATED: This is now mandatory when targeting Android 11.

Please select at least one of the signature versions to use in Android Studio 2.3

According to this link: signature help

APK Signature Scheme v2 offers:

  1. Faster app install times
  2. More protection against unauthorized alterations to APK files.

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. By default, Android
Studio 2.2 and the Android Plugin for Gradle 2.2 sign your app using
both
APK Signature Scheme v2 and the traditional signing scheme, which
uses JAR signing.

It is recommended to use APK Signature Scheme v2 but is not mandatory.

Although we recommend applying APK Signature Scheme v2 to your app,
this new scheme is not mandatory. If your app doesn't build properly
when using APK Signature Scheme v2, you can disable the new scheme.

Android Studio 2.3 Signature Step Verification v1(Jar Signature), v2(Full Apk Signature) Disabled

Finally i found solutions of the problem

v1 or v2 signature varification is enable when i update the gradel version no build.gradle(Proejct Level)

classpath 'com.android.tools.build:gradle:2.3.0'

my old build.gradle( Project Level)

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
}
}

allprojects {
........
}

task clean(type: Delete) {
......
}

my update build.gradle( Project Level)

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
}
}

allprojects {
......
}

task clean(type: Delete) {
......
}


Related Topics



Leave a reply



Submit