Skip to content

Support Android SDK 34 #911

@AndreaBalde

Description

@AndreaBalde

Description:
When I try to build the Android App Bundle using the latest Android SDK version, the build fails with an error referencing the older Android SDK version.

To Reproduce
Steps to reproduce the behavior:

  1. Using Flutter 3.35.4
  2. Build App Bundle

Expected behavior
Build app bundle successfully

Additional context
I've got this following error:

Dependency 'androidx.fragment:fragment:1.7.1' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs.
:reactive_ble_mobile is currently compiled against android-33.
Recommended action: Update this project to use a newer compileSdk of at least 34, for example 36.

Note that updating a library or application's compileSdk (which allows newer APIs to be used) can be done separately from updating targetSdk (which opts the app in to new runtime behavior) and minSdk (which determines which devices the app can be installed on).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions