Andriod Studio科学文章——4.常见问题解答有关编译

1、android未安装支持库

只有编译,下面的例子演示了提样:

Could not find any version that matches com.android.support:appcompat-v7:+
.......
Please install the Android Support Repository from the Android SDK Manager

事实上原因和解决方法已经说得非常清楚了。找不到支持库,请在Android SDK Manager中安装。所以打开我们的SDK Manager。安装Extras中的Android Support Library及Android Support Repository就可以。例如以下图所看到的。

版权声明:本文博主原创文章,博客,未经同意不得转载。

原文地址:https://www.cnblogs.com/hrhguanli/p/4854491.html