1,错误代码: 
`Error: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 

}`

解决方法: 
在app的build.gradle里的android{}中添加如下代码,然后再次运行Generate Signed Apk。例如:

android{    lintOptions {        checkReleaseBuilds false        abortOnError false    }}

更多相关文章

  1. android典型代码系列(二十二)------按键使上面的EditText抖动
  2. 用代码创建Android视图
  3. Android中对Group的各种操作示例代码
  4. Android 获取时间实例代码
  5. android 源代码 获得 Open Soure Project
  6. android 实现流媒体播放远程mp3文件代码
  7. Android 代码中实现返回键功能
  8. Android的jni下c与java数据互传测试代码

随机推荐

  1. Android检测服务是否运行
  2. Android源代码在线浏览网站列表
  3. Android 性能优化概念(1)
  4. Android WebView自定义处理错误页面显示(
  5. android I/O
  6. Android 获取 联系人信息
  7. Android(安卓)无法通过cmcc wap2.0 test
  8. android异步任务 AsynTask
  9. Android Common method
  10. Android NDK Cross-Compile Setup