这几天eclipse 项目迁移 android studio

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat.class

这是jar包重复

各个收费平台sdk 都有android-support-v4.jar

如果项目用了google服务compile 'com.google.android.gms:play-services:8.4.0'

就报这个错误了 ,目前百度, 360 游戏sdk都有这个问题 其他sdk还没迁移

解决:直接把sdk libs 中 android-support-v4.jar 删除

 
 

相关文章:

  • 2021-10-29
  • 2021-09-03
  • 2021-12-03
  • 2021-11-06
  • 2021-04-26
  • 2021-10-07
  • 2021-12-16
猜你喜欢
  • 2021-05-26
  • 2021-10-18
  • 2021-05-03
  • 2021-09-28
  • 2021-05-21
  • 2022-01-16
相关资源
相似解决方案