Set NDK_MODULE_PATH for cocos2dx Android

前端 未结 2 1933
无人共我
无人共我 2021-01-15 09:04

I am very new to cocos2dx for android.Now i install cygwin and all enviroment variables . Now when i compile and bulid my project (sample project) it gives message and error

相关标签:
2条回答
  • 2021-01-15 09:24

    In the build_native.sh file add the path of your NDK

    # paths

    NDK_ROOT = "E:\android-ndk-r8e-windows-x86\android-ndk-r8e"

    0 讨论(0)
  • 2021-01-15 09:32

    Make sure that "Copy project into workspace" is unchecked before importing project into package explorer. This will resolve the error. Also make sure that you have set the environment variable named NDK_ROOT pointing at the url where you have placed the unzipped Android NDK package.

    0 讨论(0)
提交回复
热议问题