简体   繁体   中英

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 although many people mentioned same issue

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
    }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM