Android studio提示this support library should not use a different version (25)问题的解决

来源:https://blog.csdn.net/xialong_927/article/details/80842846

 

当 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.+'
完!!!
————————————————
版权声明:本文为CSDN博主「沧海龙腾LV」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/xialong_927/article/details/80842846

posted @ 2019-11-21 15:11  自長安的李少俠  阅读(458)  评论(0编辑  收藏  举报