jgilfelt / chuck

An in-app HTTP inspector for Android OkHttp clients
Apache License 2.0
4.68k stars 452 forks source link

Android Studio 2.3: All com.android.support libraries must use the exact same version specification #35

Open jgilfelt opened 7 years ago

jgilfelt commented 7 years ago

New lint checks in Android 2.3 will sometimes return the following false-positive when using Chuck alongside support library dependencies:

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

Workaround is to explicitly include the design support library dependency in your project:

compile 'com.android.support:design:<version>'

See: https://code.google.com/p/android/issues/detail?id=231324

Refs #31

Axrorxoja commented 6 years ago

the same mistake on support library 27.1.1 how to fix it

jtikon commented 6 years ago

Hey @Axrorxoja , did you find any solution?

Axrorxoja commented 6 years ago

not yet