小编Bob*_*ool的帖子

在Android Studio v3.1.1中生成构建APK时如何修复checkReleaseBuilds false

我在Android Studio v3.1.1中开发了一个android应用程序。
我的项目已经完成,我想从Build-> Generate Build Apk 生成apk,但第二次显示以下错误:Logcat

Lint found fatal errors while assembling a release target.

To proceed, either fix the issues identified by lint, or modify your build script as follows:
...
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
    }
}
...
Run Code Online (Sandbox Code Playgroud)

我该如何解决?请帮我

java android android-studio-3.0

0
推荐指数
1
解决办法
3824
查看次数

标签 统计

android ×1

android-studio-3.0 ×1

java ×1