Cocos Creator构建成功后,编译失败,提示NDK not configured. Download it with SDK manager
最近在使用Cocos Creator1.7.0版本开发游戏,构建编译时总是失败,提示NDK not configured. Download it with SDK manager,原因应该是SDK未找到NDK所致。具体解决方法如下:
- 修改 build\jsb-default\frameworks\runtime-src\proj.android-studio\local.properties,添加ndk.dir=你的NDK路径;
- 修改 build\jsb-default\frameworks\runtime-src\proj.android-studio\app\local.properties,添加ndk.dir=你的NDK路径;