File2: C:Usersguoxw.gradlecachesmodules-2files-2.1org.jsoupjsoup1.10.3842f960942503cf1abbcc8c173a7f2c19d43726jsoup-1.10.3.jarError:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK org/jsoup/nodes/entities-xhtml.properties File1: D:CooKaracookaraclientapplibsjsoup-1.10.3.jar File2: C:Usersguoxw.gradlecachesmodules-2files-2.1org.jsoupjsoup1.10.3842f960942503cf1abbcc8c173a7f2c19d43726jsoup-1.10.3.jar
1:错误原因: 在as的libs中加入了jsoup-1.10.3.jar 包,而as本身带有jsoup.jar包,产生冲突
2.删除了libs下的jsoup包