原因是不能直接加入android库, 方法:编辑.classpath文件,改为 <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> 即可