相关疑难解决方法(0)

生成签名apk时出错

我试图在google play上传我的apk并遇到错误消息:"你上传了一个可调试的APK.出于安全考虑,你需要先禁用调试才能在Google Play上发布.了解有关debuggable APK的更多信息."

然后我android:debuggable="false"在我的清单中写道并再次尝试.我遇到了同样的错误,所以我从我的模块中选择了构建版本来释放并再次生成一个apk,但是这产生了这个错误:

Error:Gradle: Execution failed for task ':app:lintVitalRelease'.
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 gradle

209
推荐指数
16
解决办法
14万
查看次数

标签 统计

android ×1

gradle ×1

java ×1