Я нахожусь в процессе переключения моего приложения с Fabric на Firebase, что предполагает переход на Androidx. Этот другой вопрос как мне найти зависимости не отвечает на мою проблему, вывод, который я получаю, когда следую этому ответу:
+--- com.google.firebase:firebase-analytics:17.2.0 (n)
+--- com.github.hotchemi:permissionsdispatcher:2.3.1 (n)
+--- uk.co.chrisjenx:calligraphy:2.3.0 (n)
+--- com.squareup.retrofit2:retrofit:2.5.0 (n)
+--- com.squareup.retrofit2:converter-gson:2.5.0 (n)
+--- com.squareup.okhttp3:logging-interceptor:3.12.1 (n)
+--- com.squareup.okhttp3:okhttp-urlconnection:3.12.1 (n)
+--- com.pixplicity.easyprefs:library:1.9.0 (n)
+--- androidx.appcompat:appcompat:1.1.0 (n)
+--- androidx.percentlayout:percentlayout:1.0.0 (n)
+--- com.google.android.material:material:1.0.0 (n)
+--- com.google.code.gson:gson:2.8.5 (n)
+--- com.github.Raizlabs.DBFlow:dbflow-core:4.2.4 (n)
+--- com.github.Raizlabs.DBFlow:dbflow:4.2.4 (n)
+--- com.github.Raizlabs.DBFlow:dbflow-sqlcipher:4.2.4 (n)
+--- net.zetetic:android-database-sqlcipher:4.0.1 (n)
+--- com.github.danielnilsson9:color-picker-view:1.4.0 (n)
+--- org.greenrobot:eventbus:3.1.1 (n)
+--- com.crashlytics.sdk.android:crashlytics:2.9.8 (n)
+--- com.parse.bolts:bolts-tasks:1.4.0 (n)
+--- com.parse.bolts:bolts-applinks:1.4.0 (n)
+--- com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.42 (n)
+--- com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.4 (n)
\--- com.facebook.stetho:stetho:1.5.0 (n)
Ни одна из этих зависимостей не включает модуль, которым я являюсьсказал, что есть дубликат с:
Duplicate class android.support.v4.app.INotificationSideChannel found in
modules classes.jar (androidx.core:core:1.1.0) and classes.jar
(com.android.support:support-compat:25.3.1)
com.android.support:support-compat:25.3.1
откуда-то извлекается, но я не знаю, как узнать где?
Вот мой файл Gradle:
apply plugin: 'com.android.application'
//apply plugin: 'io.fabric'
//repositories {
// // maven { url 'https://maven.fabric.io/public' }
//}
buildscript {
repositories {
// maven { url 'https://maven.fabric.io/public' }
}
dependencies {
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
//classpath 'io.fabric.tools:gradle:1.31.1'
}
}
android {
compileSdkVersion 28
defaultConfig {
applicationId "xxxxxxxx"
minSdkVersion 20
targetSdkVersion 28
versionCode 25
versionName "xxxxx"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
ext.enableCrashlytics = false
}
}
}
def dbflow_version = "4.2.4"
def sqlcipher_version ="4.0.1"
dependencies {
// implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.google.firebase:firebase-analytics:17.2.0'
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0-alpha1', {
exclude group: 'com.androidx.test', module: 'support-annotations'
})
// androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
// exclude group: 'com.android.support', module: 'support-annotations'
// })
implementation 'com.github.hotchemi:permissionsdispatcher:2.3.1'
annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.3.1'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.1'
implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1'
implementation 'com.pixplicity.easyprefs:library:1.9.0@aar'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.percentlayout:percentlayout:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
// implementation 'com.android.support:appcompat-v7:'
// implementation 'com.android.support:percent:28.1.1'
// implementation 'com.android.support:design:28.1.1'
implementation 'com.google.code.gson:gson:2.8.5'
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:${dbflow_version}"
implementation "com.github.Raizlabs.DBFlow:dbflow-core:${dbflow_version}"
implementation "com.github.Raizlabs.DBFlow:dbflow:${dbflow_version}"
// sql-cipher database encryption (optional)
implementation "com.github.Raizlabs.DBFlow:dbflow-sqlcipher:${dbflow_version}"
implementation "net.zetetic:android-database-sqlcipher:${sqlcipher_version}@aar"
implementation 'com.github.danielnilsson9:color-picker-view:1.4.0@aar'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.8@aar') {
transitive = true
}
implementation 'com.parse.bolts:bolts-tasks:1.4.0'
implementation 'com.parse.bolts:bolts-applinks:1.4.0'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.42'
implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.4@aar') {
transitive = true
}
// implementation 'com.xwray:groupie:2.1.0'
implementation 'com.facebook.stetho:stetho:1.5.0'
}
apply plugin: 'com.google.gms.google-services'
Кто-нибудь может помочь?