使用操作系统独立路径'okhttp3 / internal / publicsuffix / publicsuffixes.gz'找到多个文件

时间:2018-12-16 19:24:22

标签: android-studio android-gradle

添加后:

implementation (group: 'ir.databeen.sdk', name: 'databeenlib', version: '1.0.2', ext: 'aar')

当我要生成我的应用程序时出现此错误:

  

发现多个文件具有与操作系统无关的路径   'okhttp3 / internal / publicsuffix / publicsuffixes.gz'

这是我的Gradle依赖项:

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.cedarmaps:CedarMapsSDK:3.1.2'
implementation 'co.ronash.android:pushe-base:1.4.1'
implementation 'ir.tapsell.sdk:tapsell-sdk-android:4.0.3'
implementation 'com.android.support:percent:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha2'
implementation (group: 'ir.databeen.sdk', name: 'databeenlib', version: '1.0.2', ext: 'aar')
implementation 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
testImplementation 'junit:junit:4.12'}

我尝试使用:

implementation (group: 'ir.databeen.sdk', name: 'databeenlib', version: '1.0.2', ext: 'aar'){
    exclude group: 'com.squareup.okio'
    exclude group:'com.squareup.okhttp'
}

但错误仍然存​​在。

0 个答案:

没有答案