方法1:
在项目的build.gradle文件里,用传统的自动依赖处理方式:compile ‘com.Android.support:appcompat-v7:+’,然后rebuild就可以了。
方法2:
1.直接在Module上右键Open Module Settings
2.选中Modules,打开Dependencies选项卡,点击右边的‘+’号,选第一个Library Dependency
3.选中appcompat-v7即可