转自:http://blog.csdn.net/maosidiaoxian/article/details/37655931
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即可,如下图所示。