> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> 2 issues were found when checking AAR metadata:
1. Dependency 'androidx.core:core-ktx:1.15.0' 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 7.3.0 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 35, then update this project to use
compileSdkVerion of at least 35.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
2. Dependency 'androidx.core:core:1.15.0' 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 7.3.0 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 35, then update this project to use
compileSdkVerion of at least 35.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
< /code>
Затем я попытался изменить компиляцию SDK и Traget SDK с: < /p>
compileSdk = flutter.compileSdkVersion
targetSdk = flutter.targetSdkVersion
< /code>
to < /p>
compileSdk = 35
targetSdk = 35
< /code>
Но ошибка изменяется как < /p>
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> Android resource linking failed
aapt2.exe E 06-30 13:39:18 8248 3960 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2.exe E 06-30 13:39:18 8248 3960 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\ahmad\AppData\Local\Android\sdk\platforms\android-35\android.jar'.
error: failed to load include path C:\Users\ahmad\AppData\Local\Android\sdk\platforms\android-35\android.jar.
Я пытаюсь добавить file_picker в свой проект, и когда я строю, он показывает мне эту ошибку < /p> [code]> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction > 2 issues were found when checking AAR metadata:
1. Dependency 'androidx.core:core-ktx:1.15.0' 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 7.3.0 is 33.
Recommended action: Update this project's version of the Android Gradle plugin to one that supports 35, then update this project to use compileSdkVerion of at least 35.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
2. Dependency 'androidx.core:core:1.15.0' 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 7.3.0 is 33.
Recommended action: Update this project's version of the Android Gradle plugin to one that supports 35, then update this project to use compileSdkVerion of at least 35.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). < /code> Затем я попытался изменить компиляцию SDK и Traget SDK с: < /p> compileSdk = flutter.compileSdkVersion targetSdk = flutter.targetSdkVersion < /code> to < /p> compileSdk = 35 targetSdk = 35 < /code> Но ошибка изменяется как < /p> Execution failed for task ':app:processDebugResources'. > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction > Android resource linking failed aapt2.exe E 06-30 13:39:18 8248 3960 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data. aapt2.exe E 06-30 13:39:18 8248 3960 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\ahmad\AppData\Local\Android\sdk\platforms\android-35\android.jar'. error: failed to load include path C:\Users\ahmad\AppData\Local\Android\sdk\platforms\android-35\android.jar. [/code] Я уже установил SDK 35
У меня есть старое приложение для Android, и после его открытия я вижу, что некоторые библиотеки должны быть обновлены, и после того, как я это сделаю, я получаю некоторые ошибки, большинство из которых о Google Firebase Libs
log ошибок
Я создал новый проект в Android Studio, но когда я запускаю приложение для его тестирования, оно показывает следующую ошибку:
An issue was found when checking AAR metadata:
Я создал новый проект в Android Studio, но когда я запускаю приложение для его тестирования, оно показывает следующую ошибку:
An issue was found when checking AAR metadata: