您的位置:首页 > 移动开发 > Android开发

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

2018-01-31 17:06 597 查看
Ecception:All com.android.support libraries must use the exact same version specification

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.3.0, 23.4.0. Examples include
com.android.support:animated-vector-drawable:25.3.0
 and 
com.android.support:design:23.4.0
more...(Ctrl+F1)

原因:依赖的版本不一致。

解决:将版本结合编译版本保持一致。

处理:加入相同版本的依赖,重新编译

[html] view
plain copy

compile 'com.android.support:support-v4:25.3.0'  

compile 'com.android.support:design:25.3.0'  

compile 'com.android.support:appcompat-v7:25.3.0'  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐