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:
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?
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.
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.
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 ".
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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With