In my project dependencies android.support:appcompat-v7:27.1.1 but its clashing with support-media-compat: 25.2.0. i tried to slove it by changing appcompat-v7:25.+ , 25.2.0 and others but its not fixed. Even i don't find media-compat in gradle or anywhere.
Please help me to fix it. Now I can't run my project on AVD or USB connected phone.

[![When i rebuild my project its says All fine but when i tried to run the project it gives some error[2]](https://i.stack.imgur.com/qcaJ5.png)
I had the same problem when adding Firebase invites. I solved by adding this to dependencies, following this link.
implementation 'com.android.support:support-media-compat:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
According to the post, the error is misguiding. The problem is not a dependency conflict but the lack of the dependency package. But i am not sure of this interpretation, anyway, it works.
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