Android build_native.sh运行错误

Android build_native.sh运行错误,android,android-ndk,Android,Android Ndk,我目前正在尝试学习Lynda.com的一个教程,在cygwin上运行“build_native.sh”文件时遇到了这个错误 /cygdrive/c/Users/Gideon/Documents/My-Android-Project/cocos2d-x/moleitx/proj.android $ ./build_native.sh Using prebuilt externals ERROR: You are using a non-Cygwin compatible Make program

我目前正在尝试学习Lynda.com的一个教程,在cygwin上运行“build_native.sh”文件时遇到了这个错误

 /cygdrive/c/Users/Gideon/Documents/My-Android-Project/cocos2d-x/moleitx/proj.android
$ ./build_native.sh
Using prebuilt externals
ERROR: You are using a non-Cygwin compatible Make program.
Currently using: C:/mingw/bin/make
要解决此问题,请执行以下步骤:

1. Ensure that the Cygwin 'make' package is installed.
   NOTE: You will need GNU Make 3.81 or later!

2. Define the GNUMAKE environment variable to point to it, as in:

     export GNUMAKE=/usr/bin/make

3. Call 'ndk-build' again.
我试图寻找解决这个问题的方法,但没能找到。
请帮帮我。

你还在找这个吗?我目前正在研究类似的问题

我认为您的NDK路径可能设置不正确

这只在重新安装NDK后对我有效,因为我没有设置NDK路径的选项;看