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

前端 未结 30 2747
忘掉有多难
忘掉有多难 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:48

    Very Simple with the new version of the android studio 3.x.

    Just copy the version that is less than the current version and add it explicitly with same version number as current version.

    Example

    Found versions 27.1.1, 27.1.0. Examples include com.android.support:animated-vector-drawable:27.1.1 and com.android.support:exifinterface:27.1.0

    Just copy the version com.android.support:exifinterface:27.1.0 and change it to com.android.support:exifinterface:27.1.1 so that it becomes equal to the current version you are using and add it to your gradle dependencies as following.

    implementation 'com.android.support:exifinterface:27.1.1'
    

    Note: Once you are done don't forget to click Sync now at the top of the editor.

提交回复
热议问题