I am trying to set up Android NDK using this Link.
I started Set up process by following command make -v and i am getting
$ make -v
bash: make: command not found
Then I entered following commands as given in the above link
cd /cygwin/C/..path for my project
/cygwin/C/..path of ndk installed path
At this point I am getting
ERROR: Cannot find 'make' program. Please install Cygwin make package
or define the GNUMAKE variable to point to it.
Note, I checked all this possibility error links:
Link-1
Link-2
Removed Spaces between folder.
Check this:
You'll need to point to your NDK in your eclipse by adding the path of ndk-build to Window > preferences > android > NDK. Right click on your project folder. Choose android tools -> add native support (the bottom one) and click finish.
Android Studio installs all versions of the NDK in the android-sdk /ndk/ directory. Each version is located in a subdirectory with the version number as its name. Note: Remove this property before distributing your source code; it should be left outside of your version control system.
Go to Tools->SDK Manager (or Files->Settings->Appearance & Behavior->System Settings->Android SDK ). Then select the SDK Tools tab, and check the Show Package Details checkbox. You will see your NDK version.
ERROR: Cannot find 'make' program. Please install Cygwin make package
or define the GNUMAKE variable to point to it.
While trying to install Cygwin i missed out to install MAKE PACKAGE
Just need to search make in the Search box and it will shows the Branches that includes devel branch and from devel branch i selected make package.
That's all issue fixed.
Check this Youtube link for Complete Set up process for Android NDK.
Explained from SDK set up process to NDK Set up process.
You're probably missing the devel branch in cygwin. Open the installer and on the package selection screen find "Devel". Next to it, it reads "default". click this to install the entire branch and you should be good after install.
My suggestion would be
GNUMAKE
and point it to your_path/GnuMake32/bin
make -v
and enjoy the resultHopefully helps.
But baseline is simple - it is really better to deploy something like Ubuntu (as separate OS or via VM) and run NDK there.
Probably Cygwin developer package is not installed. By default it is not installed. You, probably, should run Cygwin installer and install developer tools.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With