Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Manager, what to install?

In the Android SDK Manager, if you expand any API, you see packages saying things like 'SDK Platform, Google APIs' and also many other packages like 'Real3D, Bionic' etc. Screenshot:

screenshot

My question is, what's the difference between all these packages, and which packages do I need to install if I want to create virtual devices for some of the most common android configurations? Do I need to install SDK platforms, Google APIs, or any of the other packages in order to create emulations?

And what's the difference between SDK platform and google APIs?

like image 576
Ali Avatar asked Oct 02 '12 13:10

Ali


People also ask

Which Android SDK tools should I install?

According to Microsofts article "Which Android SDK packages should I install?" Install the "SDK Platform" for the Android versions you've set as minimum & target.

What SDK should I use in Android Studio?

For the best development experience with the Android 11 SDK, use Android Studio 4.2 or higher. You can compile and test Android 11 apps using Android Studio 3.3 and higher, but some users of the Android 11 SDK may encounter Gradle sync failures and warnings about outdated dependencies.

Where should Android SDK be installed?

by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".


3 Answers

You need following

1)SDK Platform (2.2,2.3 or 4.0.. depending on your need)

2)SDK Tools/SDK Platform tools ( to build, test and debug apps)

Google API's acts as an interface to Google Map , While SDK Platform will provide access to platform(2.2, 2.3 etc) specific API's.

like image 169
Shashank Kadne Avatar answered Oct 04 '22 04:10

Shashank Kadne


Basically you'll only need SDK Platform. The other packages are only needed, if you want to use APIs from them. For example if you want to integrate Maps-Functionality into your App. See here for more info.

like image 33
Fildor Avatar answered Oct 04 '22 03:10

Fildor


  1. SDK Tools

    Required. Your new SDK installation installs the latest version. Be sure to respond to the Android Studio update prompts to keep your SDK Tools up-to-date.

  2. SDK Platform-tools

    Required. Your new SDK installation installs the latest stable version. Be sure to respond to the Android Studio update prompts to keep your SDK Platform-tools up-to-date.

  3. SDK Platform

    Required. At least one platform is required in your environment so you're able to compile your application. In order to provide the best user experience on the latest devices, we recommend that you use the latest platform version as your build target. You'll still be able to run your app on older versions, but you must build against the latest version in order to use new features when running on devices with the latest version of Android.

http://developer.android.com/tools/help/sdk-manager.html

like image 33
Aqib Nazir Avatar answered Oct 04 '22 02:10

Aqib Nazir