Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: o

来源:互联网 发布:pc蛋蛋开奖网站源码 编辑:程序博客网 时间:2024/05/31 18:46

出现上述问题 检查下是否多次引用同一个jar包
有以下情况
1. module下jar包版本不同
2. 同一个module 在libs中包含了.jar,而在src下又把相应的source页加入了
3. gradle中是否重复编译,比如 已经加了compile fileTree(include: [‘*.jar’], dir: ‘libs’) 然而在下面又加一句compile files(‘libs/xxx.jar’)

参考 Error:Execution failed for task ‘:app:dexDebug’. com.android.ide.common.process.ProcessException

更多问题请关注 android开发遇到问题点滴

1 1
原创粉丝点击