设为首页 加入收藏

TOP

Cocos2d-x android can't resolved coscos2dx library
2015-02-02 22:10:44 来源: 作者: 【 】 浏览:23
Tags:Cocos2d-x android can' resolved coscos2dx library

In cocos2d-x 2.0.3 ...Cocos2d-x Lib java files has been considered as a different project only So import that project in the eclipse


Lets make it Simple


You will see libcocos2dx project in eclipse ...Keep this project open always otherwise your projects will give error on the syntax of library


Also additional information to run build-native.sh from eclipse only , Right Click Project ->C/C++ Build Uncheck Use Default Build COmmand and add following bash ${workspace_loc:/YourProjName}/build_native.sh NDK_DEBUG=1 V=1


Good Luck ..If any question please feel free to ask


就是先把cocos2d-2.0-x-2.0.3/cocos2dx/platform/android/java里面的项目加载进来,然后就可以了。


之后右击项目运行,在手机上就可以看到cocos的启动画面了。


Cocos2d-x android can't resolved coscos2dx library


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Android requires compiler compl.. 下一篇Linux内核编译错误:error: read-..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: