Minimum SDK Version

I saw in a recent daily build these notes:

  • Windows: Removed “Min SDK Version” from “Build for Android” dialog in simulator.
  • Mac: Removed “Min SDK Version” from “Build for Android” dialog in simulator.
  • Android: Added support for “minSdkVersion” in build.settings.

So I’m wondering, is there a default, or a do I *have* to set the minSdkVersion in build.settings now?  What’s recommended these days? Should we move on to a later version of Android and leave 2.3 behind?

Thanks,

Dave

The default is the minimum version that Corona supports, which at the time of this posting is…

   API Level 10   (Android OS version 2.3.3)

I highly recommend that you do *not* change this and leave it at the minimum Corona supports.  This is because the Android market is very fragmented.  So, the more Android OS versions you support, the more customers you will have and potentially the more revenue you’ll make.

The debatable question out in the wild is if a device running a newer Android OS version is a better/faster device, which is why we’re making this an option now.  In my opinion, it’s wrong to assume that a device running a newer OS version is a better device.  Cheap Android devices are popular and learning to work with low-end devices is just something you have to learn to deal with.  The same can be said about desktop PCs.  Upgrading a crappy low-end PC to use a newer Windows version won’t make it magically run faster and with more memory (usually the opposite happens).

The default is the minimum version that Corona supports, which at the time of this posting is…

   API Level 10   (Android OS version 2.3.3)

I highly recommend that you do *not* change this and leave it at the minimum Corona supports.  This is because the Android market is very fragmented.  So, the more Android OS versions you support, the more customers you will have and potentially the more revenue you’ll make.

The debatable question out in the wild is if a device running a newer Android OS version is a better/faster device, which is why we’re making this an option now.  In my opinion, it’s wrong to assume that a device running a newer OS version is a better device.  Cheap Android devices are popular and learning to work with low-end devices is just something you have to learn to deal with.  The same can be said about desktop PCs.  Upgrading a crappy low-end PC to use a newer Windows version won’t make it magically run faster and with more memory (usually the opposite happens).

Trying to change the minSdkVersion to 14 using build v2015.2646

It does nothing, the option in the build dialog just stays at 2.3.3 and cannot be changed.

Do I need a newer build of Corona SDK for this option ?

We’ve added the ability to set the minimum Android API Level to the last release version of Corona…

   https://developer.coronalabs.com/downloads/corona-sdk

Note that you cannot set it in the build dialog.  You can only set the minimum API Level in the “build.settings” file.

   https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#minimum-sdk-version

Thanks for the info…

Trying to change the minSdkVersion to 14 using build v2015.2646

It does nothing, the option in the build dialog just stays at 2.3.3 and cannot be changed.

Do I need a newer build of Corona SDK for this option ?

We’ve added the ability to set the minimum Android API Level to the last release version of Corona…

   https://developer.coronalabs.com/downloads/corona-sdk

Note that you cannot set it in the build dialog.  You can only set the minimum API Level in the “build.settings” file.

   https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#minimum-sdk-version

Thanks for the info…