Senin, 15 Februari 2016

Install Android NDK for windows - made simple

Some of you requested me to write a tutorial for Android NDK environment setup. Here is a real quick guide of how to do so on windows. If there are any questions, leave comments, I will try to answer them as I get time.


  1. Install Android SDK and eclipse. (A lot of tutorials are available, so I will not go into this)
  2. Download and unzip Android NDK (say the folder in which you unzipped is C:\AndroidNDK).
  3. Install Cygwin 1.7 or later(say C:\Cygwin)? be sure that you do not skip make component.During the installation you will see a screen like below, type make in the search box,
    Under X11, if it says skip, click on it and it will show the version number of the make it is going to install, my screenshot says keep since its already installed

  4. Note:Make sure there are no spaces in the androidNDK and Cygwin installation path. If there is space in either paths you will get an error while executing ndk-build command
  5. Add the AndroidNDK path (C:\AndroidNDK) and Cygwin path (C:\Cygwin\bin) to environment variables. On windows 7, Right-click my computer -> properties-> Advanced System settings -> environment variables -> path -> edit -> go to the very end -> ; C:\AndroidNDK; C:\Cygwin\bin
  6. Install awk for windows
  7. Your environment is all set, Have fun developing!!
  8. I am in a hurry so might have missed something, leave comments if you have any questions.















reff : http://nikhilvithlani.blogspot.com/2013/07/install-android-ndk-for-windows_6.html


Video yang berkaitan dengan Install Android NDK for windows - made simple


0 comments:

Posting Komentar