Questions about different android SDK

Asked

Viewed 36 times

1

I’m developing an Android application, is already published in the Play Store, but mobile phones with SDK version less than 21, does not appear when searched. In my project I set minSdkVersion 21.

When I switch to a smaller SDK, some methods give errors, because it needs a larger version.

How could I fix this?

  • Most often the IDE itself warns that such a method will only be used from such a version. The ideal is to look for alternatives or even stop offering some features to those who have previous versions. It works like this. Who has an Android even with version 2.3.3, You will no longer enjoy a lot of new thing that came after. If you dig deep into the programming, you might be able to create a compatibility with older versions, but there has to be a very specific reason.

  • Most of these cases are solved by Support Library, the bigger your version the more compatibility you get.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.