-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':mapbox_maps_flutter:checkReleaseAarMetadata'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
15 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.
:mapbox_maps_flutter 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).
2. Dependency 'androidx.window:window:1.2.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
3. Dependency 'androidx.window:window-java:1.2.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
4. Dependency 'androidx.activity:activity:1.8.1' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
5. Dependency 'androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
6. Dependency 'androidx.lifecycle:lifecycle-livedata:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
7. Dependency 'androidx.lifecycle:lifecycle-livedata-core:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
8. Dependency 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
9. Dependency 'androidx.lifecycle:lifecycle-viewmodel:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
10. Dependency 'androidx.lifecycle:lifecycle-process:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
11. Dependency 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
12. Dependency 'androidx.core:core-ktx:1.13.1' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
13. Dependency 'androidx.core:core:1.13.1' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
14. Dependency 'androidx.lifecycle:lifecycle-runtime:2.7.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
15. Dependency 'androidx.annotation:annotation-experimental:1.4.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:mapbox_maps_flutter 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).
Output of flutter --version
Flutter 3.35.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ac4e799d23 (7 days ago) • 2025-09-26 12:05:09 -0700
Engine • hash 0274ead41f6265309f36e9d74bc8c559becd5345 (revision d3d45dcf25) (6 days ago) • 2025-09-26 16:45:18.000Z
Tools • Dart 3.9.2 • DevTools 2.48.0
build.gradle file
android {
compileSdk = 36
ndkVersion = "27.0.12077973"
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = 17
}
defaultConfig {
minSdkVersion = flutter.minSdkVersion
targetSdk = 36
versionCode = flutter.versionCode
versionName = flutter.versionName
}
vitorDevop
Metadata
Metadata
Assignees
Labels
No labels