`Не удалось выполнить задачу ':app:checkDebugAarMetadata'.
A произошел сбой при выполнении com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
Обнаружена проблема при проверке метаданных AAR:
Код: Выделить всё
1. Dependency 'androidx.core:core:1.15.0-alpha01' requires libraries and applications that
depend on it to compile against version 35 or later of the
Android APIs.
:app is currently compiled against android-34.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.1.1 is 34.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 35, then update this project to use
compileSdk of at least 35.
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).
Дополнительная информация:
Инструменты SDK
Платформы SDK
I попробовал обновить compileSdkVersion до 35 в моем файле build.gradle, но обнаружил следующую ошибку:
`Не удалось определить зависимости задачи ':app:compileDebugJavaWithJavac'.
Не удалось определить нулевые зависимости.
Не удалось найти Platform SDK по пути: платформы;android-35
`
Кроме того, я попытался принудительно установить зависимость от более ранней версии, добавив реализацию('androidx.core:core:1.13.1') в мой файл app/build.gradle, но ошибка осталась прежней.
Подробнее здесь: https://stackoverflow.com/questions/786 ... 15-0-alpha