Cocos Creator构建成功后,编译失败,提示NDK not configured. Download it with SDK manager

最近在使用Cocos Creator1.7.0版本开发游戏,构建编译时总是失败,提示NDK not configured.  Download it with SDK manager,原因应该是SDK未找到NDK所致。具体解决方法如下:

 

  1. 修改 build\jsb-default\frameworks\runtime-src\proj.android-studio\local.properties,添加ndk.dir=你的NDK路径;
  2. 修改 build\jsb-default\frameworks\runtime-src\proj.android-studio\app\local.properties,添加ndk.dir=你的NDK路径;

posted on 2018-03-20 21:46  &大飞  阅读(1460)  评论(0编辑  收藏  举报

导航