Error:A problem was found with the configuration of task ':app:packageRelease'. > File 'F:\AndroidSt
2016-11-04 15:01
561 查看
异常信息: 配置的属性文件不存在
解决方案:
特别鸣谢 网友 x158454996 的解答 出现此类问题的根源问题
出现此类问题的原因是 :
AS 2.2后minifyEnabled=true时包含了shrinkResources=true,即混淆时会自动去掉多余资源,所以我们不需要设置shrinkResources了。
安卓开发交流群 : 595856941
Error:A problem was found with the configuration of task ':app:packageRelease'.File ' > F:\AndroidStudioProjects\sun\SunshineCarLife\app\build\intermediates\res\resources-release-stripped.ap_' > specified for property 'resourceFile' does not exist.
解决方案:
buildTypes { debug { signingConfig signingConfigs.debug } release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard- android.txt’), ‘proguard-rules.pro’ zipAlignEnabled true shrinkResources false //改为false 就解决了 signingConfig signingConfigs.release } }
特别鸣谢 网友 x158454996 的解答 出现此类问题的根源问题
出现此类问题的原因是 :
AS 2.2后minifyEnabled=true时包含了shrinkResources=true,即混淆时会自动去掉多余资源,所以我们不需要设置shrinkResources了。
安卓开发交流群 : 595856941
相关文章推荐
- 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:packageRelease'.
- Error:A problem was found with the configuration of task ':app:packageBAIDURelease'.
- Android 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:packageRelease'.
- Error:A problem was found with the configuration of task ':app:packageDebug'
- Error:A problem was found with the configuration of task ':app:packageAliRelease'.
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- Error: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:packageDebug' 问题解决
- A problem was found with the configuration of task ':app:packageDebug'
- A problem was found with the configuration of task ':app:packageDebug'
- Android问题集锦之四十七: Error:Execution failed for task ':app:packageRelease'. > Unable to compute hash of
- Error:Execution failed for task ':app:transformClassesWithDexForAnzhiRelease'. > com.android.build.a
- Error:Execution failed for task ':app:transformClassesWithDexForRelease'. > com.android.build.api.tr
- Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'. > com.android.build
- Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'. > com.android.build
- AndroidStudo编译时出现“Error:Execution failed for task ‘:app:mergeDebugResources‘. > Some file cru'”,解决办法