Android Development Software Setup for Mac OS X

In order to develop Android applications, you must have the following software installed on your system:

  1. Xcode
  2. Java Development Kit (JDK)
  3. Android Studio Development Bundle
  4. Android Native Development Kit (NDK)

Your Samsung device may display a notification recommending you install Android File Transfer, a handy application for transferring files between OS X and Android.


Before installing any Android development tools, you must install Xcode.

Once installation is complete, some of the following steps (such as installing the JDK) may be unnecessary.

To download Xcode, visit

Java Development Kit (JDK)

Install the JDK if it is not already present on your system. If you have already installed Xcode, this step may be unnecessary.

The latest version which has been tested with this release is JDK 8u91, available from the Java Archive Downloads page:

The latest JDK version is available here:

Android Studio Installation

Android Studio is the recommended IDE and install manager for the Android SDK tools. Download the Android Studio bundle from:

The Android Studio Development Bundle includes the basic tools you need to begin developing Java Android Applications:

  • Android Studio IDE
  • Android SDK tools
  • Latest Android Platform
  • Latest System Image for Emulator

Follow the install instructions located here:

To run any of the standalone build scripts that come with the Mobile SDK, you need to set the following environment variables:

  • Set the environment variable ANDROID_HOME to your Android SDK location. The correct syntax for setting your environment variable is: export ANDROID_HOME=<path to SDK>/android/sdk
    Note: To find the location of the SDK, launch Android Studio and select: File > Project Structure > SDK Location : "Android SDK location"
  • Add the SDK tools and platform tools directories to your PATH: PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

Installing Additional Packages and Tools

Android Studio

You must download additional packages required by the Mobile SDK via the Android SDK Manager, found in Tools > Android > SDK Manager. Android Studio may prompt you to take this step automatically the first time you launch it.

The following packages are required for native development:

  • Android SDK, API level 21 or later
  • Android Build Tools, 25.0.1 and higher
  • LLDB

Android Native Development Kit (NDK)

The Android Native Development Kit (NDK) is a toolset that allows you to implement parts of your app using native code languages such as C and C++. It is used extensively by the sample applications which come with this release.

The latest version which has been tested with this release is NDK r14b - it is available for download at the following location:

Once downloaded, extract the NDK to your home/dev folder (~/dev).

Note: Do not place the Android NDK or SDK folders inside one another. They must be placed into separate folders to avoid any conflict between the two packages.

Set the ANDROID_NDK_HOME environment variable to the directory where you have installed your NDK. For example:

export ANDROID_NDK_HOME=~/dev/android-ndk-r14b

Then add the NDK directory to your PATH: