当 targetSdkVersion 28 版本高于 com.android.support:appcompat-v7:25.0.0 时,Android Studio提示
this support library should not use a different version (25)
如下图:
解决办法:
将
compile 'com.android.support:appcompat-v7:25.0.0'
改为
compile 'com.android.support:appcompat-v7:+'
或者
compile 'com.android.support:appcompat-v7:28.+'
完!!!