In order to develop Android applications, you must have the following software installed on your system:
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 https://developer.apple.com/xcode/download/
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: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
The latest JDK version is available here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Android Studio is the recommended IDE and install manager for the Android SDK tools. Download the Android Studio bundle from: https://developer.android.com/sdk/index.html
The Android Studio Development Bundle includes the basic tools you need to begin developing Java Android Applications:
Follow the install instructions located here: https://developer.android.com/sdk/installing/index.html?pkg=studio
To run any of the standalone build scripts that come with the Mobile SDK, you need to set the following environment variables:
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:
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: https://developer.android.com/ndk/downloads/index.html.
Once downloaded, extract the NDK to your home/dev folder (~/dev).
Set the ANDROID_NDK_HOME environment variable to the directory where you have installed your NDK. For example:
Then add the NDK directory to your PATH: