控制台报错error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'
可能是新建项目时最低版本比较低,例如api 11,而sdk中的v7包是api 22的v7包,若target sdk不是22,则会v7包出错.
解决办法:将project.properties文件中的内容改为:
target=android-22
android.library.reference.1=../appcompat_v7
或从别人处拷贝过来较低api版本的v7包.