eclipse 编译器的版本默认是1.5只需修改成1.6即可Android requires compiler compliance level 5.0. Please
Androidrequirescompilercompliancelevel5.0.Pleasefixprojectproperties. 具体操作: 1. 项目右键->androidtools->FixProject2.如果不可以,检查Project->Properties->JavaCompiler 确认JDKcompliance被设置为1.6,并且enablespecificseetin