http://blog.csdn.net/lissdy/article/details/7038924
解决方法: 右键工程→Bulid Path→Configure Build Path... 选择Android,如图,在Project Build Target里面勾选相应的SDK即可