Skip to content Skip to sidebar Skip to footer

Error When Generating Signed Apk

This error occurs but on simple apk it generates the apk, kindly tell me solution for this issue. this is my screen shot Above is my manifest file i define icon find solution yet

Solution 1:

Use this code in your gradle file:

android {
    buildTypes {
    release {
        minifyEnabled true
        shrinkResources true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

lintOptions {
    checkReleaseBuilds false
    // Or, if you prefer, you can continue to check for errors in release builds,
    // but continue the build even when errors are found:
    abortOnError false
    }
}

Post a Comment for "Error When Generating Signed Apk"