Back to top

Tutorial — Set up your Android environment

The following instructions describe how to set up your Android environment. You must do this before you can begin developing Android apps with the Knox SDK or Knox POS SDK.

System requirements

  1. Verify that your development system meets the requirements specified by the Android System Requirements.
  2. Ensure the Samsung device you are testing on supports Knox.

Knox does not support devices that have been rooted or are running a custom ROM.

Set up your Java environment

To develop Android apps in Java, you need the following:

  • Java Development Kit (JDK) — This provides the tools required to build a Java app.
  • Java Runtime Environment (JRE) — This lets you run Java apps on your computer.

To install these components:

  1. Go to the Java Platform Installation web page.
  2. Select your operating system and read the instructions.
  3. Download and install the JRE and JDK for your operating system.

Set up your Android environment

To develop Android apps, you must download Android Studio and the Android SDK.

Complete the following steps to install Android Studio and the Android SDK:

  1. Go to the Download the Android SDK and SDK Tools page.
  2. Select and download the Android Studio package for your operating system (one of Windows, MacOS, or Linux).
  3. Unzip and install the bundle. It includes essential components and the Studio IDE.
  4. Launch Android Studio.
  5. Download the latest SDK tools and SDK platforms using the Android SDK Manager.
    • To open the SDK Manager, click Tools > Android > SDK Manager.
  6. Install updated packages if needed.

Is this page helpful?