运行编译时报错:我知道是有重复的文件,怎么解决呢?紧急,求解决方式,谢谢
下面是报错内容:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK com/j256/ormlite/core/LICENSE.txt
File1: G:\zhijieruanjian\ZhiYiTongT\app\libs\ormlite-core-5.0.jar File2: C:\Users\HOME\.gradle\caches\modules-2\files-2.1\com.j256.ormli\ormlite-core\4.48\e579bd2905d0399af5029aaaf9817d5fa0ca88a5\ormlite-core-4.48.jar
在你的module的build.gradle文件中相应位置添加如下代码: