Повторяющиеся автоаннотации класса в jetified-auto-value-1.2.jar и com.google.auto.value: auto-value-annotations: 1.6.5 - PullRequest
0 голосов
/ 05 августа 2020

При запуске проекта возникают следующие ошибки

Дубликат класса com.google.auto.value.AutoAnnotation обнаружен в модулях jetified-auto-value-1.2.jar (com.google. auto.value: auto-value: 1.2) и jetified-auto-value-annotations-1.6.5.jar (com.google.auto.value: auto-value-annotations: 1.6.5) Повторяющийся класс com.google.auto .value.AutoValue находится в модулях jetified-auto-value-1.2.jar (com.google.auto.value: auto-value: 1.2) и jetified-auto-value-annotations-1.6.5.jar (com.google. auto.value: auto-value-annotations: 1.6.5) Дубликат класса com.google.auto.value.AutoValue $ Builder обнаружен в модулях jetified-auto-value-1.2.jar (com.google.auto.value: auto- значение: 1.2) и jetified-auto-value-annotations-1.6.5.jar (com.google.auto.value: auto-value-annotations: 1.6.5) Повторяющийся класс com.google.common.util.concurrent.ListenableFuture находится в модулях jetified-guava-20.0.jar (com.google.guava: guava: 20.0) и jetified-listenablefuture-1.0.jar (com.google.guava: listenablefuture: 1.0)

Go к документации, чтобы узнать, как исправить ошибки разрешения зависимостей.

вот мои зависимости на уровне приложения, я не могу найти причину root или библиотеку, которая вызывает эту

dependencies {
    implementation(name: 'sinch-android-rtc', version: '+', ext: 'aar')
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation('com.googlecode.ez-vcard:ez-vcard:0.10.4') {
        exclude group: 'org.freemarker'
    }
    implementation 'androidx.multidex:multidex:2.0.1'
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'com.google.android.material:material:1.1.0'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation ('androidx.browser:browser:1.2.0'){
        exclude group: 'com.google.auto.value'
    }
    implementation 'com.google.firebase:firebase-core:17.4.4'
    implementation 'com.google.firebase:firebase-database:19.3.1'
    implementation 'com.google.firebase:firebase-storage:19.1.1'
    implementation 'com.google.firebase:firebase-auth:19.3.2'
    implementation 'com.google.firebase:firebase-messaging:20.2.3'
    implementation 'com.google.android.gms:play-services-places:17.0.0'
    implementation 'com.google.android.gms:play-services-auth:18.1.0'
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    implementation 'com.eyalbira.loadingdots:loading-dots:1.0.2'
    implementation 'com.iceteck.silicompressorr:silicompressor:2.1'
    implementation 'com.kbeanie:multipicker:1.6@aar'
    implementation 'com.github.chrisbanes:PhotoView:2.0.0'
    implementation 'com.vanniktech:emoji-google:0.5.1'
    implementation 'com.mxn.soul:flowingdrawer-core:2.0.0'
    implementation 'com.nineoldandroids:library:2.4.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'com.intuit.sdp:sdp-android:1.0.6'
    implementation 'com.jakewharton:butterknife:10.2.2'
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.2'
    implementation 'com.squareup.picasso:picasso:2.71828'
    implementation 'com.daasuu:animateHorizontalProgressBar:0.2.4'
    implementation 'com.chootdev:timezago:1.1.7'
    implementation 'com.karumi:dexter:4.2.0'
    implementation files('libs/libphonenumber-4.1.jar')
    implementation 'com.github.bumptech.glide:glide:3.9.0-SNAPSHOT'

    // OkHttp3
    implementation 'com.github.bumptech.glide:okhttp3-integration:1.6.0-SNAPSHOT'
    implementation 'com.squareup.okhttp3:okhttp:4.2.2'
    implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2'

    implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
    implementation('com.google.cloud:google-cloud-translate:1.12.0') {
        exclude group: 'org.apache.httpcomponents'
        exclude group: 'org.json', module: 'json'
    }
    implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
    implementation 'com.github.adrielcafe:AndroidAudioConverter:0.0.8'
    annotationProcessor 'com.google.cloud:google-cloud-translate:1.12.0'
    implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
}

ссылка на документацию не работает. Я пробовал добавить implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava', но проблема была там.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...