i am getting this error when after integrating the OverAir sdks in Gradle and i dont know which one library is causing a duplicate entry with these sdk files. my project gradle file look like this
compile ('com.nostra13.universalimageloader:universal-image-loader:1.9.5')
compile('com.getbase:floatingactionbutton:1.9.0') {
exclude module: 'support-annotations'
}
compile(name:'onemotion-sdk', ext:'aar')
compile(name:'overair-sdk', ext:'aar')
compile(name: 'material-search', ext: 'aar')
compile 'com.paypal.sdk:paypal-android-sdk:2.14.2'
compile 'com.facebook.android:facebook-android-sdk:4.4.0'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:support-v4:24.0.0'
compile 'com.android.support:design:24.0.0'
compile 'me.dm7.barcodescanner:zxing:1.8.4'
compile 'org.droidparts:droidparts:2.8.8'
compile 'com.google.android.gms:play-services-gcm:9.2.0'
compile 'com.google.android.gms:play-services-maps:9.2.0'
compile 'com.google.android.gms:play-services-location:9.2.0'
compile 'com.android.support:cardview-v7:24.0.0'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile ('com.squareup.picasso:picasso:2.5.2')
compile 'com.android.support:multidex:1.0.1'但是这个错误是由库文件夹中的这两个OverAir和OneEmotion sdk引起的。希望它与通用图像加载库或毕加索相冲突,任何人都可以帮助我,谢谢你提前.!
compile(name:'onemotion-sdk', ext:'aar')
compile(name:'overair-sdk', ext:'aar')发布于 2016-07-24 10:46:38
请在项目级别的gradle文件中添加这2行android {}标记大括号
configurations{
all*.exclude module: 'okhttp'
all*.exclude module: 'okio'
}https://stackoverflow.com/questions/38551001
复制相似问题