配置完后,报如下错误:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/org.androidannotations/androidannotations-api/pom.xml
File1: D:\AndroidStudio\learnWorkSpace\AnnotationTest\app\libs\androidannotations-api-3.0.1.jar
File2: C:\Users\Administrator\.gradle\caches\modules-2\files-2.1\org.androidannotations\androidannotations-api\3.0.1\beb7e0a75c753383e7ef68c0e1639999db301c33\androidannotations-api-3.0.1.jar
怎么解决?
相关分类