Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What version of Android should I develop for?

How should I make the choice ? What are the parameters I should take into account ?

like image 920
Robert Avatar asked Sep 23 '10 14:09

Robert


People also ask

Which Android version is best for app development?

Android Studio The latest, most stable version — Android Studio 3.2 — is the best way for app developers to get into the latest Android 9 Pie version and build new Android App bundles.

Which Android version should I target?

We recommend that you explicitly set the Target Android version to the latest version of Android that you use to test your app. Ideally, it should be set to the latest available Android SDK version – this allows you to use new APIs prior to working through the behavior changes.

What API level should I develop for Android?

New apps must target Android 12 (API level 31) or higher; except for Wear OS apps, which must target Android 11 (API level 30) or higher.


2 Answers

First of all you should take into account relative number of devices running a given version of the Android platform

like image 174
Denis Palnitsky Avatar answered Oct 05 '22 20:10

Denis Palnitsky


Have a look at Android versions market share. I would develop for 1.6+. If you will realize in the middle of development that you want some API feature from newer version, you will have 3 choices:

  1. Don't use that feature
  2. Detect Android version from the app and then decide what to do
  3. Change required Android version in your manifest file and project settings
like image 25
fhucho Avatar answered Oct 05 '22 21:10

fhucho