Cocos2d-x 3.2导入到Eclipse后出现The import org.cocos2dx.lib cannot be resolved错误
来源:互联网 发布:乌鲁木齐网络限速 编辑:程序博客网 时间:2024/06/15 23:54
Cocos2d-x 3.2导入到Eclipse后出现The import org.cocos2dx.lib cannot be resolved错误
下面是解决办法,暂用此法。
一、那我们将设置一下cocos2d-x的引用即可
右键项目->build path->link source->Browse->选择地址
F:\android\cocos2d\cocos2d-2.1rc0-x-2.1.2\cocos2dx\platform\android\java\src
Folder name 填写为一个不与src冲突的名称,如cocos2dx-src 即可,然后确定
方法二、也可以导入libcocos2dx
1.右键Import项目,选择libcocos2dx所在路径,“..\cocos2d\cocos\platform\android\java”
2.右键->"Properties"->"Android"->"Library"->"Add"会自动显示刚才添加的lib,添加即可。
Clean->Refresh.
3 0
- Cocos2d-x 导入到Eclipse后出现The import org.cocos2dx.lib cannot be resolved错误
- Cocos2d-x 3.2导入到Eclipse后出现The import org.cocos2dx.lib cannot be resolved错误
- Cocos2d-x 3.2导入到Eclipse后出现The import org.cocos2dx.lib cannot be resolved错误
- Cocos2d-x 3.x项目导Eclipse出现 The import org.cocos2dx.lib cannot be resolved错误
- cocos2d-x import org.cocos2dx.lib cannot be resolved
- cocos2d-x import org.cocos2dx.lib cannot be resolved
- The import org.cocos2dx.lib cannot be resolved错误解决方法
- The import org.cocos2dx.lib cannot be resolved
- The import org.cocos2dx.lib cannot be resolved
- import org.cocos2dx.lib cannot be resolved
- import org.cocos2dx.lib cannot be resolved
- cocos2d-x import org.cocos2dx.lib cannot be resolve
- import org.cocos2dx.lib cannot be resolved 解决方法
- 解决The import org.cocos2dx.lib cannot be resolved AppActivity.java的方法
- Myeclipse导入web项目时错误:The import org.springframework.orm cannot be resolved
- myeclipse导入项目错误:The import org.apache.struts.tiles.ComponentContext cannot be resolved
- spring中出现的错误:The import org.springframework cannot be resolved
- Eclipsr导入一个android新项目后出现 The import java.io cannot be resolved
- 第十二课:Activity的生命周期和加载模式
- SQLServer2005-linked Server to Oracle(reference)
- Routing: Linux Implementation
- 星期转换
- REDIS系列-------前传
- Cocos2d-x 3.2导入到Eclipse后出现The import org.cocos2dx.lib cannot be resolved错误
- Android NDK 开发教程五:TwoLibs示例
- RAPIDIO高速串行协议
- 简单有效的svn merge命令
- 2014华为机试题14:解析9进制,11进制的字符串为10进制的数字输出
- sun.misc.BASE64Encoder找不到的解决方法
- hibernate get与load的比较
- Struts1单文件、多文件上传
- HBase备份之ExportSnapshot或CopyTable