应用:transformClassesWithJarMergingForDebug”。重复条目:org / apache / commons / logging / Log.class

时间:2016-09-06 05:42:30

标签: java android apache

错误:任务<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> .... </style> 的执行失败。

  

com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:org / apache / commons / logging / Log.class

在模型gradle中,我使用useLibrary 'org.apache.http.legacy',在我的应用程序中,gradle也使用useLibrary 'org.apache.http.legacy'所以我认为问题是jar重复,但我必须使用useLibrary 'org.apache.http.legacy '才能解决问题?谢谢!

0 个答案:

没有答案