如何在Android Studio中创建APK?

问题描述 投票:-1回答:1

我想在Android工作室制作APK但是当我创建它时,显示此错误...

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
    }
}
...
apk
1个回答
1
投票

从android studio创建签名的apk时我遇到了同样的问题。我只是在android {}内的build.gradle文件上稍微改变一下

lintOptions {
  checkReleaseBuilds false
  abortOnError false
}
© www.soinside.com 2019 - 2024. All rights reserved.