Andriod Studio科普篇——4.关于编译的常见问题

转自:http://blog.csdn.net/maosidiaoxian/article/details/37655931

1、android支持库未安装

编译不过,提示如下:

[plain] view plaincopy
 
  1. Could not find any version that matches com.android.support:appcompat-v7:+  
  2. .......  
  3. 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/x_wukong/p/4317088.html