Adding an Android SDK

From Appmethod Topics
Jump to: navigation, search

Go Up to Steps in Creating Multi-Device Applications

Go Up to Android Mobile Application Development


A software development kit (SDK) provides a set of files that are used to build applications for a target platform. When you develop applications for Android, the Android SDK and Android NDK are required on your development system, and they both need to be known to the SDK Manager.

You Do Not Need to Add an Android SDK to Appmethod Yourself

The installer for Appmethod installs the current recommended and tested versions of the Android development tools during the Appmethod installation by default, and adds an Android SDK to the Appmethod SDK Manager.

If you install the Android development tools using GetIt Package Manager, GetIt Package Manager also adds an Android SDK to the Appmethod SDK Manager.

You only need to add an Android SDK to Appmethod as described below if you install the Android development tools manually or want to use a version of the Android development tools that you previously installed on your development system.

Adding an Android SDK to Appmethod

To add an Android SDK to Appmethod:

  1. Select Tools > Options > Environment Options > SDK Manager and click the Add button.
  2. On the Add a New SDK dialog box, select Android from the Select a platform drop-down list.
  3. On the Select an SDK version drop-down list select Add new and complete the steps of the Create a New Android SDK wizard:
    1. In the Android SDK Base Path and the Android NDK Base Path fields, browse to and select your installed SDK and NDK locations, respectively.
    2. The Create a new Android SDK wizard now populates the rest of the fields here and on the Android tools locations page. Allow a moment for this process to complete.
    3. For any fields that are not auto-populated or are marked with YellowBang.png, click the entry field and browse to the installed location of that library on your system.
    4. Select Finish to finish creating your new SDK.
  4. Check Make the selected SDK active if you want the new SDK to be the default SDK for Android.
  5. Click OK to continue.

Your Android SDK version is now listed in the SDK Manager:

AndroidSDKInstalled.png

The Android SDK version should now be included in your Android target platform in the Project Manager:

FullyPopulated.png

See Also