将项目导入到eclipse中后会出现这个问题,提示找不到下列文件: import org.cocos2dx.lib.Cocos2dxActivity; 解决方案: I have fixed the error by going to Project Properties -> Java BuildPath ->Source and then linking “cocos2dx/platform/android/java/src”