Reputation: 71
I'm experiencing with unresolved dependency issue. I know there are multiple factors that can result to unresolved dependencies but this one seems a bit odd. I was using firebase-messaging of version 11.8.0 and everything worked fine. but when i update to firebase-messaging latest version (17.1.0) i get multiple dependencies error. What is odd is I'm not using any of those dependencies that causes the errors. Also, the error includes both google gms library of version 17.1.0 while currently the latest google gms version in 15.0.1.
What i have tried so far 1. Install recommended Repository and sync project (failed since it could not fine google gms library of version 17.1.0) 2. adding those libraries but still i get same errors
I have attached a screenshot of the error and my list of my dependencies thanks.
Upvotes: 0
Views: 501
Reputation: 138824
According to Google Play Services versions, there are no:
com.google.android.gms:play-services-basement:17.0.1
com.google.android.gms:play-services-task:17.0.1
And according to Firebase versions for Android, there are no:
com.google.firebase:firebase-common:17.0.1
com.google.firebase:firebase-iid:17.0.1
So wherever you find this dependencies in your code, remove them. There are no such dependencies at all.
If you need to use Firebase Messaging
you should add in your code also the following line of code, which is now mandatory:
com.google.firebase:firebase-core:16.0.1
Upvotes: 1