I got the error when I run the app in Android Issues : Program type already present: android.support.design.widget.CoordinatorLayout$Behavior
here is my gradle dependencies:
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'
}
Update firebase-auth to 15.1.0 and firebase-storage to 15.0.2. Now they have independent version numbers.
Also update google-services from project .gradle to:
classpath 'com.google.gms:google-services:3.2.1'
Check the release notes here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With