Setting up the Android SDK
The Google Android OS website provides a standalone package for Android application development called the Android SDK. It contains all the necessary compilation and debugging tools to develop an Android application (except native code support, which is provided by the Android NDK). The upcoming steps explain the installation procedure in Mac OS X or, similarly, in Linux, with minor modifications to the script and binary packages required.
How to do it...
To install the Android SDK, follow these steps:
Download the standalone package from the Android Developers website at http://dl.google.com/android/android-sdk_r24.3.3-macosx.zip.
Create a new directory called
3rd_party/android
and move the setup file into this folder:mkdir 3rd_party/android mv android-sdk_r24.3.3-macosx.zip 3rd_party/android
Unzip the package:
cd 3rd_party/android && unzip android-sdk_r24.3.3-macosx.zip
Execute the Android SDK Manager:
./android-sdk-macosx/tools/android
Select Android 4.3.1 ...