Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'
程序员文章站
2022-07-13 11:03:00
...
transformResourcesWithMergeJavaResForDebug
编译的时候出现以下问题:
百度多次找到了解决办法:在build.gradle中添加一些配置就行了
packagingOptions {
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
}
同步一下,运行问题迎刃而解了。如果解决了你的问题,请点个赞,谢谢...
上一篇: 已解决:Elasticsearch报错:exception [type=search_phase_execution_exception, reason=all shards failed]
推荐阅读
-
Execution failed for task ':app:preDebugAndroidTestBuild问题解决
-
ANDROID打包错误ERROR:EXECUTION FAILED FOR TASK ′:APP:LINTVITALRELEASE′.
-
关于android studio打开后自动弹出:Error:Execution failed for task ':app:preDebugAndroidTestBuild'
-
Error:Execution failed for task ':app:processDebugManifest'.
-
异常Error:Execution failed for task ':app:preDebugAndroidTestBuild'解决方法
-
Android Studio NDK开发时报Execution failed for task ':xxxx项目:transformNativeLibsWithStripDebugSymbol 错误的解决办法
-
Execution failed for task ‘:app:checkDebugDuplicateClasses‘解决方案
-
Error:Execution failed for task ':app:kaptDebugKotlin'
-
Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'
-
有效解决Execution failed for task ':app:clean'. > Unable to delete directory问题