Which Android SDK do I need?

I would like to check and distribute the phonegap application. It already works for the iPhone.

At first I installed the latest SDK (4.0.3), but this one does not start on my phone. So ... I think I need to install more.

What do I need to install in the Android SDK Manager?

Any SDK? Do I need Sample / Arm / GoogleAPI / Sources?

+6
source share
5 answers

As a rule, I install all versions of the SDK, as it’s good to be able to test various emulators to make sure that the application works in all versions of Android. You should always create your application with the latest SDK, but in your AndroidManifest.xml you must have an android: minSdkVersion is set to the lowest Android level at which you want your application to run. At the moment, I recommend 7 (Android 2.1), since 97% of the phones work 2.1 or more.

+6
source

As you can see in the graph of the platform versions here , it is recommended to use the Android 2.1 or 2.2 SDK to cover almost all Android devices on the market.

It seems to me that you do not need the / ARM / Sources samples, although if you need to use the Google API (for example, the Google Maps API), you need to use the versions of the Google API 2.1 or 2.2.

+2
source

All you need is an SDK that matches the level of the API you are going to build on.

This page: http://developer.android.com/resources/dashboard/platform-versions.html

has a breakdown of which devices are most active when used in real time (market access for 2 weeks)

Judging by this, if you configure 2.1, you can install the application on 98.3% of all such devices.

It’s usually best to choose the oldest platform that supports all the necessary features. Just stay above or above 1.6, that is, when support for multiple screen sizes was introduced.

+2
source

I think the best solution is SDK 2.2. Many devices work with this version of Android.

0
source

On an Android phone, go to Settings-> About Phone and view the version of Android. This should be the sdk that you need. Afterword you can simply change the target version of Android-sdk in your application, and it should work on your phone. As for the folders you are talking about, they contain some examples, sdk source code and some additional apis for using google services. It is up to you whether you need them. You will definitely need platform tools from the Android SDK manager - they provide you with an adb tool that allows you to download applications to your device.

0
source

Source: https://habr.com/ru/post/906762/


All Articles