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 ...

Get Android NDK Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.