我正在尝试在android studio虚拟模拟器上构建我的应用程序,我已经成功测试了api 21级及以上,现在我正在测试更低级别的api 19,但每当我运行时我都会收到此错误:
错误:任务':app:transformClassesWithJarMergingForDebug'执行失败。
com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:com / android / volley / Request $ Priority.class
这是我的gradle文件:
std::string argv[4];
// Then use argv[i].c_str(); to get inner const char* pointer.
我在网上找到了很多关于此的解决方案,但不是专门针对这个问题,我认为问题出在凌空,但由于我的代码,我无法删除任何库。我该如何解决这个问题?谢谢!
答案 0 :(得分:0)
您正在使用2个不同版本的排球库
compile 'com.android.volley:volley:1.0.0'
compile 'com.mcxiaoke.volley:library:1.0.19'
使用上述任何一种
我不知道
compile 'dev.dworks.libs:volleyplus:0.1.4'
如果这是类似于上面两个的库,则错误仍然存在