Search code examples
androidbuild-process

What build target and min SDK version should you choose?


Hey, I'm building just a basic app with text, urls, pictures, and some buttons. When you create a new project what build version do you usually choose? The highest, 2.2? And also what min SDK version do you choose? Also 2.2? or the lowest one possible?

I'm a little confused by what would be best for all customers

-Thanks!


Solution

  • You should choose what you want to support.

    If you want the latest API features, choose 2.2 (or soon 2.3). But if you want to include all possible phones, you need to go as low as 1.5 for the min target. The catch is that if they are using a 1.5 device you have avoid making API calls that only exist in a later version of Android.