Rishit Aggarwal
06/12/2023, 8:22 PMA 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\rishi\.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\rishi\.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 1s āā Flutter Fix āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā [!] Your project requires a higher compileSdkVersion. ā ā Fix this issue by bumping the compileSdkVersion in ā ā C\Udemy\mi card flutter\android\app\build.gradle ā ā android { ā ā compileSdkVersion 31 ā ā } ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Exception: Gradle task assembleDebug failed with exit code 1