1、项目右键 --> import --> Android --> Existing Android Code Into workspace\r\n\r\n
--> 选择..\sdk\extras\android\support\v7\appcompat(根据自己的文件存放路径先择)\r\n\r\n
--> 勾选copy projects into workspace --> finish\r\n\r\n
(若出现unable to resolve target 'android-16', 修改project.properties)
2、在项目中引用android.support.v7\r\n\r\n
项目右键 --> properties --> Android --> Library --> Add --> OK