Skip to content

Support compiling with Android SDK 36 (default in Flutter 3.35) #755

@hagerf

Description

@hagerf

Is there an existing issue?

No

Use case

I just recently tried to update the gradle plugin to 8.13.0 in my flutter app and unfortunately it now fails for objectbox, since it uses android compile sdk version 31, and at least 34 is required.

This is what I got, all 19 issues are from objectbox:

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    19 issues were found when checking AAR metadata:

       1.  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.

           :objectbox_flutter_libs is currently compiled against android-31. 

Proposed solution

Update the compile sdk to a higher version, preferably the highest version, 36.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions