参考链接:http://stackoverflow.com/questions/18830736/actionbaractivity-cannot-be-resolved-to-a-type
in eclipse you need to right click on the project, go to Properties, select Android in the list then Add to add the library
添加:android-support-v7-appcompat