[SOLVED] Can't publish on Google Play Console (SDK 21)

Hello, I just wanted to publish a new app but when importing .aab, I got the error message:

“Play installer verification requires SDK 21 or later. The minimum SDK version for the imported app bundle is 15. Update the minSdkVersion attribute in your app’s Android manifest file.”

An idea?

That is set in build.settings. Look for this entry and updated it to 21 or higher:
android = { minSdkVersion = "21", },

1 Like

I still have the same error when importing the .aab file:

android =
{
usesPermissions =
{
“android.permission.VIBRATE”,
},

  {
  	minSdkVersion = "21",
  },

},

Maybe because in config.lua I kept:

content =
{
graphicsCompatibility = 1,

(it’s a very old game I would like to republish, but using the lastest Solar2d version)

You have and extra set of braces around minSdkVersion - that might be the problem.

1 Like

Thanks, it works. That’s strange it’s not already by default in the manifest :shushing_face: