Determining the minSDKVersion for an Android app

46 views Asked by At

The question is asking for guidance on determining the minimum required SDK (software development kit) version that should be set for an Android app

I am looking for guidance on how to choose the appropriate minimum required SDK version to set for my Android app. How to assess the compatibility and functionality tradeoffs associated with different SDK versions

2

There are 2 answers

0
Abdelaziz HADIAT ALLAH On

The packages that you add to your project who determines what is the minSDK but mostly 21 is the sweet spot , most of packages needs no more than 21 . like Google Maps , AdMob etc .....

0
Yaros On

It all depends on the APIs your code and packages you use require. For most projects 21 is fine, but some packages require to set it higher, it is usually mentioned in the Readme file or homepage of the package on pub.dev.