Skip to content Skip to sidebar Skip to footer

How To Use V1 (jar Signature) Or V2 (full Apk Signature) From Build.gradle File

I have this in my gradle file: android { signingConfigs { mySigningConfig { keyAlias 'theAlias' keyPassword 'thePassword' storeFile

Solution 1:

Found it! I have adjusted my gradle file like so:

signingConfigs {
    mySigningConfig {
        keyAlias 'theAlias'
        keyPassword 'thePassword'
        storeFile file('theKeystore.jks')
        storePassword 'thePassword'
        v1SigningEnabled true
        v2SigningEnabled true
    }
}

Reference: https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.SigningConfig.html

Post a Comment for "How To Use V1 (jar Signature) Or V2 (full Apk Signature) From Build.gradle File"