Quick answer: Godot 4 Android export passing through template build but failing at Play Console upload with target SDK error? Template doesn't validate target SDK at export time - validate via bundletool.

Export AAB; upload to Play Console; rejected: target SDK must be 34+. Re-export wastes 5 minutes per cycle.

Validate locally

bundletool dump manifest --bundle=game.aab | grep targetSdk

Local check catches the bug pre-upload.

CI gate

Build script fails if targetSdkVersion is below the threshold. No accidental uploads.

Document SDK targets

Per-store SDK requirements change. Document; review quarterly.

“Store requirements drift. Local validation catches drift early.”

Add a bundletool check to your release pipeline. The cost is 30 seconds; the saved iteration cycles are many.

Related reading