cocos2d-x移植安卓平台(android studio)出现的错误

新人一枚,刚搭建好cocos2d-x的windows环境,然后新建了一个hello world项目,按照官方文档将项目导入到android studio,在编译的时候出现了以下错误:

错误:CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Configuration failed.
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':helloworld'.

executing external native build for cmake F:\cocosProjects\helloworld\CMakeLists.txt
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

百度了好久,解决不了,有大佬能帮一下吗,愁死了
2019-01-18 21:56 添加评论 分享
已邀请:

要回复问题请先登录注册

退出全屏模式 全屏模式 回复