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

后端 未结 5 1869
感情败类
感情败类 2020-11-27 09:32

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

Now while generating a signed APK in Android Studio, it\'s showing

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 10:17

    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.

提交回复
热议问题