Back to top

Set up your Android environment

Last updated December 21st, 2023

This tutorial describes how to set up your Android environment. You must do this before you can begin developing Android apps with the Knox SDK.

System requirements

  1. Verify that your development system meets the requirements specified by the Android System Requirements.

  2. Make sure the Samsung device you are testing on supports Knox.

Note

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

Set up your Android environment

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

  1. Go to the Download the Android SDK and SDK Tools web page.

  2. Select and download the Android Studio package for your operating system — one of Windows, MacOS, or Linux.

  3. Install the IDE, which 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 > SDK Manager.
      • Alternatively, go to File > Settings > Languages & Frameworks > Android SDK.
  6. Install updated Android packages if needed.

    Tip

    You should choose Android packages with OS versions that match your Knox SDK version. To install the Knox SDK, see Install the SDK.

    For details about which Android version maps to which Knox SDK versions, see Knox version mapping.

SDK Manager on Android Studio

Note

To develop Android apps in Java, you also need:

  • 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.

The JDK and JRE are included in your Android Studio installation. By default, you can find them in Program Files \ Android \ Android Studio \ jbr and Program Files \ Android \ Android Studio \ jre respectively.

Is this page helpful?