使用项目作为依赖项我遇到了麻烦。
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':androidCommUnits')
compile project(':share')
compile project(':qrcodeLibrary')
compile project(':viewPagerIndicatorLibrary')
compile project(':ultimaterecyclerview')
compile files('libs/alipaysdk.jar')
compile files('libs/alipaysecsdk.jar')
compile files('libs/alipayutdid.jar')
compile files('libs/libammsdk.jar')
compile files('libs/pinyin4j-2.5.0.jar')
compile files('libs/locSDK_6.11.jar')
compile 'com.jakewharton:butterknife:7.0.1'
compile 'org.xutils:xutils:3.2.2'
compile 'de.greenrobot:eventbus:2.4.0'
compile project(':easyloadingbtn-lib')
compile(project(':OneSDK')) {
exclude module: 'alipaySingle-20160223'
exclude module: 'utdid4all-1.0.4'
}
}
我收到此错误:
Error:Execution failed for task ':youke:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/alipay/android/app/IAlixPay$Stub$a.class
这是一个我看到重复的课程
如何解决这个问题?