Fixed Android Library Version Problem Of Drawable And MediaRoute

12
66



All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 26.1.0, 25.2.0. Examples include com.android.support:animated-vector-drawable:26.1.0 and com.android.support:mediarouter-v7:25.2.0 less… (Ctrl+F1)
There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion.)

Follow Me On:

FACEBOOK —
INSTAGRAM —
GOOGLE+ —
MYSELF GOOGLE+ —
SUBSCRIBE —

Nguồn:https://dantrionline.com.vn/


https://danhnhan.vn/lam-dep

12 COMMENTS

  1. The error message actually includes what dependencies is failing. In the beginning of the video you can read: com.android.support:mediarouter-v7:25.2.0 this has the version 25.2.0 while the appcompat has version 26.1.0 hence the error message.
    implement the failing dependencies (for me it was two) and change the version number so all version numbers matches.

    In this case he had to add:
    implementation 'com.android.support:mediarouter-v7:25.2.0' and change the version number to 26.1.0

    However, this might not be the failing dependency for everyone -> make sure you read the error message 🙂

  2. e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:

  3. Now i am using Android studio 3.1.3 and sdk version is 28.When I added the firebase 'com.google.firebase:firebase-core:16.0.1'
    dependency. This same error created in my project How i will solve this problem. Plz help me sir

  4. Hi thank you for the video , i still have the probleme , i have Android 3.1 , i have the error in implementation 'com.android.support:appcompat-v7:27.1.1'
    and i still have the same probleme please can you help me

LEAVE A REPLY

Please enter your comment!
Please enter your name here