com.android.support libraries must use the exact same version specification (mixing versions can lea

在 gradle 脚本中遇到了错误提示:

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

targetSdkVersion,compileSdkVersion,buildToolsVersion,和support包的版本保持一致。
如compileSdkVersion 25 buildToolsVersion "25.0.3" targetSdkVersion25此时用support包的版本最好是25最新版

你可能感兴趣的:(android)