Latest Android Studio 2020.3.1 not showing Signature Versions option while signing APK

Viewed 2173

enter image description here

As showing in this photo. I recently updated my Android Studio to the latest version 2020.3.1 while signing the apk I am unable to see the version selection options.

targetSdkVersion 30
minSdkVersion 21
classpath 'com.android.tools.build:gradle:4.2.1'

any solution please?

2 Answers

The signature version selection checkboxes seem to have dissappear from the UI in the latest Android Studio version, but you can still enable V1 Jar Signature during the Gradle build

Modify your app level build.gradle file:

android {
...

signingConfigs {
    release  {
        keyAlias 'key0'
        keyPassword '************'
        storeFile file('path to your key file')
        storePassword ''************''
        //Enable V1 signing 
        v1SigningEnabled true
        v2SigningEnabled true
    }
}

...

  buildTypes {
    release {
        minifyEnabled true
        //Use the signing configuration we just defined
        signingConfig signingConfigs.release
     }
  }

...
}
Related