Thursday, July 23, 2009

Installing Android NDK on Windows XP/Vista

What you need:

  • A Windows XP/Vista computer (yeah, u absolutely need it :)).
  • cygwin (make sure that make and gcc utilities are installed).
  • Android SDK 1.5
Steps to install:

  • Download the NDK from the Android developer site and unpack it to a disk location. I'm calling this NDK_HOME.
  • Startup cygwin and navigate to NDK_HOME.
  • Enter this command
  • export ANDROID_NDK_ROOT=NDK_HOME (note, use forward slashes '/' instead of the usual windows backslash. Remember that you are using a Linux emulation tool!).
  • Run this setup command.
  • bash build/host-setup.sh
  • You should get a "Host Setup Complete" message if everything went properly.
You're done.

1 comment:

  1. In order to start developing Android applications for Android powered devices one need to install Android Software Developer’s Kit (SDK in short), installing the SDK will not only allow you to Android Apps Development but also helps you in access the device with much ease, also allows you to install apps on your device remotely and in addition also allows to handle the perplexed jobs like installing WiFi modules on your Android device.

    ReplyDelete