Transcript
Page 1: Adding an Android SDK - RAD Studio

Show: Delphi C++Display Preferences

Adding an Android SDKFrom RAD Studio

Go Up to Steps in Creating Cross-Platform 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 targetplatform. When you develop applications for Android, the Android SDK and Android NDK are required onyour development system, and they both need to be known to the SDK Manager.

When you install RAD Studio, the installer gives you the option of installing the recommended versions of theAndroid SDK and NDK. If you install these recommended versions during product installation , the SDKManager detects their presence and sets the default paths and locations for you, as shown in this screenshot:

In this case, when the recommended versions of the Android SDK and NDK are installed by default, you do notneed to add an Android SDK, because the default location is known to the SDK Manager, and so the libraries areautomatically detected.

Adding an Android SDK - RAD Studio http://docwiki.embarcadero.com/RADStudio/XE5/en/Adding_an_Androi...

1 of 3 12/6/2013 9:38 PM

Page 2: Adding an Android SDK - RAD Studio

If you want to install the Android SDK and NDK yourself, even in alternate locations, or if you want to use anexisting installation of the Android SDK and NDK, you must add your Android SDK to the RAD Studio SDKManager. See Installing the Android Development Tools if you do not have the Android SDK or NDK installedyet and you want to install them yourself.

Caution: Versions of the Android SDK and NDK libraries that differ from those installed with RAD Studiomight not work as expected.

To add an Android SDK to RAD Studio:

Select Tools > Options > Environment Options > SDK Manager.1.Click the Add button.2.On the Add a New SDK dialog box, select Android from the Select a platform drop-down list.

RAD Studio detects the Android SDKs installed in your system and populates the Select an SDKversion drop-down list for you.

3.

Select an SDK from the Select an SDK version drop-down list. For details and troubleshooting, see SDKManager.

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. The Create a New Android SDK wizard opens.6.In the Android NDK Base path field on the first page of the wizard, enter the path to your installed NDKfolder, and click Next.

7.

On the next page, wait for RAD Studio to automatically detect the paths of the required tools, and thenclick Finish.

8.

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

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

See Also

Adding an Android SDK - RAD Studio http://docwiki.embarcadero.com/RADStudio/XE5/en/Adding_an_Androi...

2 of 3 12/6/2013 9:38 PM

Page 3: Adding an Android SDK - RAD Studio

SDK ManagerInstalling the Android Development Tools

Retrieved from "http://docwiki.embarcadero.com/RADStudio/XE5/e/index.php?title=Adding_an_Android_SDK&oldid=207482"Categories: Android XE5

This page was last modified on 29 August 2013, at 16:37.Help Feedback

Adding an Android SDK - RAD Studio http://docwiki.embarcadero.com/RADStudio/XE5/en/Adding_an_Androi...

3 of 3 12/6/2013 9:38 PM


Recommended