ANDROID打包错误ERROR:EXECUTION FAILED FOR TASK ´:APP:LINTVITALRELEASE´.
来源:互联网 发布:软件测试例子 编辑:程序博客网 时间:2024/05/22 12:16
错误信息
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 } } ...
解决方案
其实解决方案已经提示出来了、就是在对应的项目build.gradle里面添加一个配置、在app的build.gradle里的android{}中添加如下代码、然后再次运行Generate Signed Apk就正常了
android { compileSdkVersion 23 buildToolsVersion ´25.0.0´ defaultConfig { applicationId "com.luzhiyao.sgongdoocar" minSdkVersion 14 targetSdkVersion 23 versionCode 5 versionName "1.1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(´proguard-android.txt´), ´proguard-rules.pro´ } } //添加如下配置就ok了 lintOptions { checkReleaseBuilds false abortOnError false }}
阅读全文
2 0
- ANDROID打包错误ERROR:EXECUTION FAILED FOR TASK ´:APP:LINTVITALRELEASE´.
- ANDROID打包错误ERROR:EXECUTION FAILED FOR TASK ´:APP:LINTVITALRELEASE´.
- 打包错误:`Error:Execution failed for task ':app:lintVitalRelease'.
- android 错误Error:Execution failed for task ':app:lintVitalRelease'.>
- 【Android】AndroidStudio打包apk出现的一些问题 `Error:Execution failed for task ':app:lintVitalRelease'.
- AndroidStudio打包apk出现的问题 `Error:Execution failed for task ':app:lintVitalRelease'
- AndroidStudio打包apk出现的一些问题 `Error:Execution failed for task ':app:lintVitalRelease'.
- Mr.Smile填坑记——打release包报错Error:Execution failed for task ´:app:lintVitalRelease´.
- Android 错误Error:Execution failed for task ':app:preDexDebug'.
- Android错误之:Error:Execution failed for task ':app:mergeDebugResources'.
- Android Error:Execution failed for task ':app:transformClassesWithDexForRelease'错误小记
- 关于Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.编译错误
- 记一次Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'.错误
- Error:Execution failed for task ':app:compileRetrolambdaDebug'.错误解决
- Error:Execution failed for task ':app:buildInfoDebugLoader'.解决错误
- Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'.错误 .
- Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'.错误
- 错误之-Error:Execution failed for task ':app:mergeDebugResources'
- Python练习题 类的继承
- 【Android N兼容问题】Android N上系统预置应用调用第三方库初始化失败
- C语言--单链表
- HandlerThread使用小结
- mysql 根据时间段统计
- ANDROID打包错误ERROR:EXECUTION FAILED FOR TASK ´:APP:LINTVITALRELEASE´.
- gpg: 签名时失败处理
- jQuery 案例
- mysqldump备份数据库时文件为空的问题
- 脉冲云之项目管理方法
- CSS:text-decoration参数说明
- 数据结构——常用的内部排序算法
- UVa 220 Othello
- easyui datagrid 导出excel及乱码解决