打包的时候出现如下错误:

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 

}


如果确认可以忽略lint检查出来的错误,可以做如下设置:

app.gradle中的android中加入

lintOptions {    checkReleaseBuilds false    abortOnError false}

更多相关文章

  1. 编译代码报出Android library projects cannot be launched错误
  2. Android:常见错误提示
  3. Ubuntu 13.04 编译环境配置及android 2.3 源代码编译时出现了以
  4. android之android.os.NetworkOnMainThreadException错误
  5. android提示错误: The process android.process.acore has stoppe
  6. Android 出现open failed: EACCES (Permission denied)错误**
  7. Android requires compiler compliance level 5.0. Please fix p
  8. 丢失Android系统库或者Conversion to Dalvik format failed with

随机推荐

  1. android 官网登陆不上解决办法
  2. App架构师-》全球android公司/个人排名
  3. AndroidStudio部署项目时出现错误:Instant
  4. [Android]Ultra-Pull-To-Refresh之listvi
  5. 【Android】原生Progress提示
  6. okhttp3使用详解
  7. Android中 一些维持状态的经验
  8. Android(安卓)Jetpack组件之DataBinding
  9. android获取周围WIFI热点
  10. Android隐藏标题栏及解决启动闪过标题的