All com.android.support libraries must use the exact same version specification

前端 未结 30 2745
忘掉有多难
忘掉有多难 2020-11-21 05:10

After updating to android studio 2.3 I got this error message. I know it\'s just a hint as the app run normally but it\'s really strange.

All com.andr

30条回答
  •  庸人自扰
    2020-11-21 05:42

    My problem is similar to yours. Here exist an error!

    compile 'com.android.support:appcompat-v7:25.3.0'

    All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.3.0, 24.0.0. Examples include 'com.android.support:animated-vector-drawable:25.3.0' and 'com.android.support:mediarouter-v7:24.0.0'

    Seeing this Examples include 'com.android.support:animated-vector-drawable:25.3.0' and 'com.android.support:mediarouter-v7:24.0.0'

    the just add these codes in dependencies, make sure that versions are same.

    compile 'com.android.support:animated-vector-drawable:25.3.0'
    compile 'com.android.support:mediarouter-v7:25.3.0'
    

提交回复
热议问题