android-studio - 发现多个文件的操作系统独立路径为“okhttp3/internal/publicsuffix/publicsuffixes.gz”
问题描述
添加后:
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'
}
但错误仍然存在。
解决方案
推荐阅读
- excel - 基于REGEX模式匹配excel VBA删除行
- java - 如何在不知道数据结构类型的情况下获得通用数据结构的长度?
- rust - 如何删除集合类型的成员?
- python - 如何在python中使用另一个函数中的变量?函数的唯一区别是 return 语句
- firebase - 打开从 Facebook 到应用程序的 Firebase 动态链接,而不是 Facebook 网络预览
- java - maven repos 是否像其他依赖项一样支持 uber jar?
- java - 如何修复未在条目的 objectClasses 中声明的属性 sn
- authentication - 身份验证 - 在 Chome 开发人员工具中公开的登录凭据
- dataframe - 将数据集中具有键值对的列转换为不同的行
- flutter - 为什么 Flutter 中的网络请求不会阻塞 UI