Тип программы уже присутствует: android.support.design.widget.CoordinatorLayout $ Behavior - PullRequest
0 голосов
/ 04 мая 2018

Я получил ошибку при запуске приложения в Проблемы с Android: Тип программы уже присутствует: android.support.design.widget.CoordinatorLayout $ Behavior

вот мои зависимости gradle :

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.google.firebase:firebase-auth:15.0.0'
    implementation 'com.google.firebase:firebase-storage:15.0.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    compile 'com.github.bumptech.glide:glide:4.7.1'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
    implementation 'com.android.support:support-fragment:26.1.0'
    implementation 'com.android.support:design:26.1.0'

}

1 Ответ

0 голосов
/ 04 мая 2018

Обновление firebase-auth до 15.1.0 и firebase-storage до 15.0.2. Теперь у них есть независимые номера версий.

Также обновите google-сервисы из проекта .gradle до:

classpath 'com.google.gms:google-services:3.2.1'

Проверьте примечания к выпуску здесь

...