Advice on versions (minSdkVersion/targetSdkVersion...)

Hi,

I’m moving a project to android and wanted some advice on what values I should be using for:

minSdkVersion
targetSdkVersion
compileSdkVersion
buildToolsVersion

Android studio has just updated buildtools to 25.0.5 so I guess I’m good to go with that? Is minSdkVersion the lowest android version the app will run on? what about targetSdkVersion? is that the ideal version??? and then compileSdkVersion what is that? Is that the version I want to be compling with??

Thanks,
Katie

Im ussing minsdk - 15 , target sdk 22, if u put target sdk 23+ then u will need to handle on fly permission request in app.

1 Like

But target 23+ isn’t as bad, as @energyy implied. I know much user, which are not installing apps/games with target <23, because they can’t deny permission.

The main difference between minSdk 15 and 19 are only 11% of user base (see Android Dashoards). We recommend our clients minSdk 19, but they are mainly located in Germany. Don’t know the user base around the world.

PS: Here is a good link to understand minSdk vs targetSdk explained by a Googler.

2 Likes

my sdk devices is 14-16.

min-sdk 19 is bad!!!

Hmm, look here and here :grin:

My min sdk is 15.
https://www.appbrain.com/stats/top-android-sdk-versions

But “Data on this page is collected by users of the AppBrain SDK.” isn’t a valid resource. But it’s only 9% for Jelly Bean and the numbers are decreasing.

Then welcome:
https://developer.android.com/about/dashboards/index.html

Looks like min15 is the way to go looking at the dashboard link. Though it only gives a percent figure. What is 0.9% I wonder in term of active regularly used devices?