Blogger Information
Blog 143
fans 1
comment 0
visits 440325
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
android studio 打包apk,出现以下错误
弘德誉曦的博客
Original
1053 people have browsed it

android studio 打包apk,出现以下错误

  1. Error:Execution failed for task 'xxx'.
  2. > Lint found fatal errors while assembling a release target.
  3. To proceed, either fix the issues identified by lint, or modify your build script as follows:
  4. ...
  1. android {
  2. lintOptions {
  3. checkReleaseBuilds false
  4. // Or, if you prefer, you can continue to check for errors in release builds,
  5. // but continue the build even when errors are found:
  6. abortOnError false
  7. }
  8. }

解决方案:

在app的build.gradle中添加如下代码,重新Generate Signed APK

  1. android{
  2. lintOptions {
  3. checkReleaseBuilds false
  4. abortOnError false
  5. }
  6. }

作者:sybil052
链接:https://www.jianshu.com/p/c6ad9207e476
来源:简书

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post