O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – preparing Windows for Android development

To work with the Android NDK, we need to set up a Cygwin Linux-like environment for Windows:

Tip

Since NDK R7, Cygwin installation is not required anymore (steps 1 to 9). The Android NDK provides additional native Windows binaries (for example, ndk-build.cmd).

  1. Go to http://cygwin.com/install.html.
  2. Download setup.exe and execute it.
  3. Select Install from Internet.
  4. Follow the wizard screens.
  5. Select a download site from where Cygwin packages are going to be downloaded. Consider using a server in your country:
    Time for action – preparing Windows for Android development
  6. When proposed, include Devel/make and Shells/bash packages:
  7. Follow the installation wizard until ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required