Reputation: 940
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?
Upvotes: 55
Views: 53280
Reputation: 5311
No, you only need to install the Target API
and the Minimum API
.
According to Microsofts article "Which Android SDK packages should I install?"
Android Platform(s)
Install the "SDK Platform" for the Android versions you've set as 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 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).
Upvotes: 4
Reputation: 445
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
Target API 23, Minimum API 15
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.
Upvotes: 13
Reputation: 12746
No, You don't need to download everything for every platform. You need to download only for those you are going to develop your application. E.g. If you are going to develop an application for Android 2.3.3 (API 10) then you only need to download for specific that platform only. You can choose to download support libraries from extra (If you need that).
EDIT
You also don't need to download all build tools. It's better if you use the latest one.
For more queries on build-tools you can look at this questions:
What are the Android SDK build-tools, platform-tools and tools? And which version should be used?
Upvotes: 10
Reputation: 30611
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:
You should also install
Optional:
Upvotes: 62