FAILURE: Build failed with an exception. * What w...
# general
c
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task 'appcheckDebugAarMetadata'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> One or more issues found when checking AAR metadata values: The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-29). Dependency: androidx.windowwindow java1.0.0-beta04. AAR metadata file: C:\Users\USER\.gradle\caches\transforms-3\41a83d0cf61e3d2ab42ea706b65148ab\transformed\jetified-window-java-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties. The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-29). Dependency: androidx.window🪟1.0.0-beta04. AAR metadata file: C:\Users\USER\.gradle\caches\transforms-3\bb9a53f8c4dc071c681fa071739dc70b\transformed\jetified-window-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 56s Exception: Gradle task assembleDebug failed with exit code 1
🧵 1
v
Please do not split topics across several threads. This makes following the conversation in the threads view very hard as the context of the other messages is missing. If you have additional information either edit the original message or post to its thread. And please check channel topics to find the right channel, this is not the right one for your question Regarding the problem, I'm not an Android dev, but the error message seems to be quite clear to me. Your project uses SDK version 29, but you want to use a dependency that needs at least 31. That's like trying to use a Java library complied for Java 11 in a project compiling with Java 8.
c
Ok thank you sir.
I'm sorry for earlier