android studio重复引用jar问题

来源:互联网 发布:重庆时时彩平刷软件 编辑:程序博客网 时间:2024/05/18 02:44

问题,
Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException

Error:Execution failed for task ‘:app:transformClassesWithJarMergingForDebug’.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/hardware/display/DisplayManagerCompat$JellybeanMr1Impl.class

一些写得不错的链接
但是,都没解决问题
http://blog.csdn.net/u010648159/article/details/52098237

http://blog.csdn.net/u011930471/article/details/50389151

http://blog.csdn.net/anthony_3/article/details/64128110

https://stackoverflow.com/questions/20989317/multiple-dex-files-define-landroid-support-v4-accessibilityservice-accessibility

有时间,再细细解决
github的一个项目:
https://github.com/BaronZ88/MinimalistWeather
在 23,非25出错