Jakub Syty
08/09/2023, 9:44 PMExecution failed for task ':app:checkDebugAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> 2 issues were found when checking AAR metadata:
1. Dependency 'androidx.emoji2:emoji2-views-helper:1.4.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.1.0 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.
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.emoji2:emoji2:1.4.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.1.0 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.
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).
I do not use the emoji dependency anywhere (explicitly). I feel like stable compose shouldn't force me to use beta SDK platform through transient dependency. Anybody else came across that?eygraber
08/09/2023, 10:00 PMIan Lake
08/09/2023, 10:03 PMephemient
08/09/2023, 10:20 PMIan Lake
08/09/2023, 11:06 PMJustinBis
08/09/2023, 11:47 PMJakub Syty
08/10/2023, 7:06 AMRajar
08/10/2023, 9:46 AMephemient
08/10/2023, 9:48 AMJakub Syty
08/10/2023, 9:59 AMRajar
08/10/2023, 9:59 AMWe recommend using a newer Android Gradle plugin to use compileSdk = 34
This Android Gradle plugin (8.1.0) was tested up to compileSdk = 33 (and compileSdkPreview = "UpsideDownCakePrivacySandbox").
You are strongly encouraged to update your project to use a newer
Android Gradle plugin that has been tested with compileSdk = 34.
If you are already using the latest version of the Android Gradle plugin,
you may need to wait until a newer version with support for compileSdk = 34 is available.
Ian Lake
08/10/2023, 2:06 PMgoku
12/14/2023, 1:08 AMcompileSdk 34
requirement is coming from? I was expecting to see minSdk
set in here. It would be good to know these constraints in advanceIan Lake
12/14/2023, 1:38 AMgoku
12/14/2023, 1:49 AMcompileSdk
to 34?Ian Lake
12/14/2023, 1:53 AMIan Lake
12/14/2023, 1:53 AMgoku
12/14/2023, 2:02 AMcompileSdk
. Which was originally planned to happen after the Compose update. (For context: Not a big deal for a single app but we have multiple apps and multiple internal libraries so library updates take more effort.)
What I’m hearing is we should prioritise updating compileSdk
first before updating other libraries. Thanks 👍Ian Lake
12/14/2023, 2:04 AM