现象如下:

从网上下载来的jar 可以使用,把他替换 成
compile 'com.android.support:recyclerview-v7:25.0.0'
compile 'com.android.support:support-v4:25.0.0'
的情况,却不行了,包了很多错误,
如果去解决呢?

报下面错误信息
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v7/widget/AdapterHelper$Callback;

报错信息为
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
对比一下内容



错误太多了
http://blog.csdn.net/u013134391/article/details/51538511
去掉重复v4
http://www.itstrike.cn/Question/19f80b1b-18da-4db8-ba16-48280df841f2.html
多种情形下
http://www.ithao123.cn/content-10610252.html
解决冲突
http://blog.csdn.net/u013134391/article/details/51538511
http://blog.csdn.net/jinjins1129/article/details/51014303
网友评论