cocos2dx项目(3.2创建)

来源:互联网 发布:做自己想做的梦 知乎 编辑:程序博客网 时间:2024/05/01 05:51

ls :查看下级文件(win下是dir)

cd ~/Document(或者/Document)/../ :转到文件

cd ..  : 返回上级目录

export :查看环境变量


3.2 

cocos new -l ****(语言)  -p ****(包名)  *****项目名

cocos new -l cpp com.test helloworld

报错:-bash: cocos: command not found

解决:删除 .bash_profile 重新配置就好了 


安卓编译.so时报错:Couldn’t find the gcc toolchain,

解决:需要更新NDK




0 0
原创粉丝点击