Muh*_*ood 0 android gradle build.gradle
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'
Run Code Online (Sandbox Code Playgroud)
compile(name:'onemotion-sdk', ext:'aar')
compile(name:'overair-sdk', ext:'aar')
Run Code Online (Sandbox Code Playgroud)
Muh*_*eed 10
请在项目级别gradle文件中使用android {}标记括号添加这两行
configurations{
all*.exclude module: 'okhttp'
all*.exclude module: 'okio'
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2088 次 |
| 最近记录: |