cocos new:error:unrecognized arguments:
cocos new:error:unrecognized arguments:helloWorld
到底什么问题啊?怎样改?
有参数错误,你把整条命令扔过来
是-l(英文)不是-1(数字)哦
我也碰到这个问题怎么解决
C:\Users\Administrator>cocos new Basd-p com.game.helloworld -l cpp -d projects
Running command: new
usage: cocos new [-h] [-p PACKAGE_NAME] -l {cpp,lua,js} [-d DIRECTORY]
[-t TEMPLATE_NAME] [–ios-bundleid IOS_BUNDLEID]
[–mac-bundleid MAC_BUNDLEID] [–no-native]
[PROJECT_NAME]
cocos new: error: unrecognized arguments: com.game.helloworld