forked from CarnegieTechnologies/gallery_saver
-
Couldn't load subscription status.
- Fork 23
Open
Description
Currently I'm upgrading Gradle and AGP in my Android project to recent versions and I have found issues when compiling due to old compileSDK version
These are the version I'm using:
health: ^13.1.4
GRADLE: distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
AGP: id "com.android.application" version "8.13.0" apply false
targetSdkVersion and compileSdkVersion 36
And I get several error logs related to old Android dependencies like:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gallery_saver_plus: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.
:gallery_saver_plus is currently compiled against android-31.
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.
:gallery_saver_plus is currently compiled against android-31.
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).
.....
.....
.....
erfan-git and wolru
Metadata
Metadata
Assignees
Labels
No labels