从 android studio 生成签名 APK 时的错误显示

Error display where generate singed APK from android studio

Lint 在组装发布目标时发现致命错误。

要继续,请修复由 lint 识别的问题,或按如下方式修改您的构建脚本:

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

更改 build.gradle 文件 android {} 如下所示

    android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.xxx"
        minSdkVersion 15
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard- 
           rules.pro'
        }
    }
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }

}