Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Manager - Do you need to install all android platforms?

I just recently downloaded the Android SDK.
Downloading all the packages in the "SDK Manager" will take way too much time. So I'm wondering whether I should deselect all the platforms except the latest one.
Do I need all the platforms or which ones do I need?

like image 215
Anay Karnik Avatar asked Mar 06 '15 10:03

Anay Karnik


People also ask

What is SDK manager in Android Studio?

This is a program specifically for downloading parts of your SDK. Open the manager by heading to Tools > SDK Manager. You’ll be greeted with a list of files under the tabs SDK Platforms and SDK Tools. The SDK platforms are the Android platforms you can develop for.

Do I need to install all of the Android SDK?

No, You don't need to install everything. Install the "SDK Platform" for the Android versions you've set as minimum, target, and in-between the minimum & target. Examples: The Android SDK Extras are usually not required; but it is useful to be aware of them since they may be required depending on your use case.

Do I need to install SDK platforms for each API level?

Only need to install SDK Platform for API 23 Target API 23 Minimum API 15 Need to install SDK Platforms for API 15 and 23. Note that you do not need to install the API levels between the minimum and target (even if you are backporting to those API levels). System Images

How do I download Android Studio SDK?

To help you do this, Android Studio provides something called an SDK manager. This is a program specifically for downloading parts of your SDK. Open the manager by heading to Tools > SDK Manager. You’ll be greeted with a list of files under the tabs SDK Platforms and SDK Tools.


2 Answers

Not at all. You just need to install those platforms which you are targeting for your apps and which you intend to test your app with. If I were you, I'd install:

  • API 24 (Multiple app windows, Notification enhancements, Multi-locale support)
  • API 23 (Runtime permissions toggling, Doze mode and BoringSSL)
  • API 21 (Massive changes, including Material Design)
  • API 19 (Many changes to various API methods)
  • API 18 (New features such as BLE, new API methods)
  • API 14 (Big overhaul - addressed several issues in Honeycomb)
  • API 11 (Quantum shift - native Fragments & Action Bar from API 11 onwards)
  • API 10 (Last of the "old" Android platforms - there are still people using this)

You should also install

  • SDK Tools 24.0.2
  • SDK Platform-tools 21
  • SDK Build-tools 21.1.2
  • Google Play Services SDK
  • Google USB Driver

Optional:

  • Offline documentation for each SDK Platform.
  • Platform source code - useful for a look under the covers.
like image 152
Y.S Avatar answered Sep 27 '22 21:09

Y.S


No, You don't need to install everything.

Install the "SDK Platform" for the Android versions you've set as minimum, target, and in-between the minimum & target.

Examples:

Target API 23, Minimum API 23

  • Only need to install SDK Platform for API 23

Target API 23, Minimum API 15

  • Need to install SDK Platforms for API 15 To 23

Extras

The Android SDK Extras are usually not required; but it is useful to be aware of them since they may be required depending on your use case.

like image 44
Praveen Yadav Avatar answered Sep 27 '22 20:09

Praveen Yadav