Reputation: 11
These are my gradle console error and file as well Suggest new ideas to resolve the error, I tried all previous solutions, didn't work.
Upvotes: 1
Views: 560
Reputation: 75778
You should use 10.2.0 instead of 10.0.1
No Need
compile 'com.firebase:firebase-client-android:2.5.2' // Remove this
Do this
compile 'com.google.firebase:firebase-auth:10.2.0'
compile "com.google.firebase:firebase-database:10.2.0"
Then
android {
.....
packagingOptions{
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
}
}
Finally Clean-Rebuild and Run .
Upvotes: 1