Skip to content

Upgrade compile SDK #49

@PiotrRogulski

Description

@PiotrRogulski

This package uses SDK 32 as the compile SDK for Android. However, this version is now outdated, and some (core) Android dependencies require a higher compile SDK.

Excerpt from Gradle build logs:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_bugfender:checkReleaseAarMetadata'.
> 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.

           :flutter_bugfender is currently compiled against android-32.

           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