-
Notifications
You must be signed in to change notification settings - Fork 370
Description
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:
- Using Flutter 3.35.4
- 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).