Skip to content

Add Android SDK 36 support for the Google Play target API deadline #319

Description

@neel-sharma

Summary

Google Play Console is notifying Android developers that, starting August 31, 2026, new apps and app updates must target Android 16 (API level 36) or higher.

The Amplitude Flutter plugin should update and validate its Android build configuration against SDK 36 so applications can confidently meet this requirement.

Google Play policy:
https://support.google.com/googleplay/android-developer/answer/11926878

Current state

The plugin's Android library is compiled against SDK 34 and uses older Android build tooling. The example application also does not explicitly demonstrate compiling against and targeting API 36.

The plugin does not control a consuming application's targetSdk; applications must still set that themselves. This request is about ensuring that the plugin build and example are tested and compatible with SDK 36.

Expected behavior

  • The Android library compiles against SDK 36.
  • The Android build tooling supports API 36.
  • The example app compiles against and targets API 36.
  • The example builds and runs successfully on Android 16.

Impact

Without verified SDK 36 support, developers updating their applications for the Google Play deadline may encounter build-tool compatibility uncertainty or failures.

Google Play will prevent new apps and app updates that do not target API 36 from being submitted after August 31, 2026.

Proposed implementation

A draft implementation is available in PR #316:

#316

It has been validated with:

  • flutter analyze
  • All 132 Flutter tests
  • A debug APK build reporting compileSdkVersion=36 and targetSdkVersion=36
  • Installation and successful launch on a physical Android 16/API 36 device

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions