Android Studio出现Error:Failed to find......

请问你AS中在build.gradle中dependencies添加 compile 'com.android.support:appcompat-v7:22.2.1'后 提示这个错
图片说明
这是怎么回事?

com.android.support:appcompat-v7:22.2.1这个库没找到

自己经常在github上下载一些源码,很多时候都会出现这样子的问题。
Error:failed to find Build Tools reevision 21.0.1

Install Build Tools 21.0.1 and sync project

自己的AS装的是最新的Build Tools,所以这个时候,只需要将上面的版本好改为自己的就可以了。

......
答案就在这里:Android Studio Error:failed to find Build Tools reevision 21.0.1
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。