Google Play console says the apk's api version and android level are to low

Hi guys, I have already made casual game with Defold and stucked on implementing ads and analytics.

Like in topic, Google play console says the apk level has to be min 26 and apk made in Defold is 23.

Is there any workaround?

just update AndroidManifest.xml string to

<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="26" />

We will soon update this and make sure that the engine provided Android Manifest sets a target SDK version of 26. Likely in the next release.

Xml file in folder after bundling?

Yes, copy it to your project folder and then define it as your Android manifest in your game.project file to override the apk’s manifest with your custom one. Keep in mind you may need to update it based on new Defold changes to their builtin manifest so if anything suddenly breaks in the future check that.

2 Likes

OK, thanks guys, it works.