我正在尝试创建我的项目的构建,但它给我错误'''程序类型已存在:com.android.internal.http.multipart.ByteArrayPartSource'''。我了解我依存关系中的某些文件是重复的。我试图在各个地方排除该组,但是却找不到正确的方法。
以下是我正在使用的依赖项
implementation project(':segmentControlLibrary')
implementation project(':googleplayservices_lib')
implementation project(':webservice')
implementation project(':PDFViewCtrlTools')
implementation files('libs/acra-4.5.0.jar')
implementation files('libs/httpmime-4.2.1.jar')
//compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
implementation project(':library')
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'it.sephiroth.android.library.horizontallistview:hlistview:1.3.1'
implementation 'net.zetetic:android-database-sqlcipher:4.2.0@aar'
implementation 'com.github.bumptech.glide:glide:4.10.0'
implementation 'com.github.angads25:filepicker:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'
implementation 'com.pdftron:pdftron:7.0.3'
implementation ('com.pdftron:tools:7.0.3'){
exclude group: 'com.google.code.gson', module: 'gson'
}
implementation files('libs/org.apache.http.legacy.jar')
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'com.google.android.material:material:1.1.0-alpha06'
任何人都可以帮助哪个模块可能包含容易出错的组,我需要排除它。
注意:我可以在设备中直接运行应用程序,但无法创建调试或发布APK。
删除
implementation 'com.google.android.material:material:1.1.0-alpha06'
您已经在上面将材料库声明为
implementation 'com.google.android.material:material:1.0.0'