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

后端 未结 5 1883
感情败类
感情败类 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:23

    Should I use(or both) for signing apk for play store release? An answer is YES.

    As per https://source.android.com/security/apksigning/v2.html#verification :

    In Android 7.0, APKs can be verified according to the APK Signature Scheme v2 (v2 scheme) or JAR signing (v1 scheme). Older platforms ignore v2 signatures and only verify v1 signatures.

    I tried to generate build with checking V2(Full Apk Signature) option. Then when I tried to install a release build in below 7.0 device and I am unable to install build in the device.

    After that I tried to build by checking both version checkbox and generate release build. Then able to install build.

提交回复
热议问题