Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
来源:互联网 发布:ios 免费 日程软件 编辑:程序博客网 时间:2024/04/29 07:36
以前的老项目,导入到AndroidStudio 2.2.2时,报错:
解决办法 :
Error:A problem was found with the configuration of task ':app:packageDebug'.> File 'E:\AndroidStudio\work\AUWoQu\YingYongShiChang\app\build\intermediates\res\resources-debug-stripped.ap_' specified for property 'resourceFile' does not exist.
解决办法 :
打开app的build.gradle
将shrinkResources 设置为false
buildTypes { release { minifyEnabled true shrinkResources false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { //开启代码混淆 minifyEnabled false // 移除无用的resource文件 shrinkResources false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }
3 0
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- Error:A problem was found with the configuration of task ':app:packageDebug'. > File 'F:\androidstud
- Error:A problem was found with the configuration of task ':app:packageDebug'
- A problem was found with the configuration of task ':app:packageDebug'
- A problem was found with the configuration of task ':app:packageDebug'
- android studio异常Error:A problem was found with the configuration of task ':app:zipalignDebug'.
- Error:A problem was found with the configuration of task ':app:packageRelease'. > File 'F:\AndroidSt
- 打包出现这个错误Error:A problem was found with the configuration of task ':app:packageRelease'.
- Error:A problem was found with the configuration of task ':app:packageRelease'.
- Error:A problem was found with the configuration of task ':app:packageBAIDURelease'.
- Error:A problem was found with the configuration of task ':app:packageAliRelease'.
- 打包出现这个错误Error:A problem was found with the configuration of task ':app:packageRelease'.
- android studio异常Error:A problem was found with the configuration of task ':app:zipalignDebug'的解决方案
- Android A problem was found with the configuration of task ':app:packageRelease'
- Error:Execution failed for task ':app:packageDebug'.
- Error:Execution failed for task ':app:packageDebug'...
- 推荐五个Vue2的免费教程
- mysql/Java服务端对emoji的支持
- 程序编译过程和Makefile的作用
- spring中自定义Event事件的使用和浅析
- 北京工作居住证续签
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- 【linux】 tshark
- Oracle触发器 同一事件激活两个触发器
- BurpSuite抓包实验(2)
- 集合栈
- Lock wait timeout exceeded; try restarting transaction
- B树,B+树,InnoDB,MyISAM
- WebRTC
- 中东本地支付Onecard