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

前端 未结 30 2672
忘掉有多难
忘掉有多难 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 06:02

    1. Go to project/.idea/libraries folder on your file system and see which libraries are different.
    2. You will have to manually include these libraries with the same version in your build.gradle file.
    3. Then, sync your project.

    E.g.:

    compile 'com.android.support:appcompat-v7:25.2.0'
    
    // Wrong library version found on 1st point
    compile 'com.android.support:customtabs:25.2.0'
    

提交回复
热议问题