after download project and try to run it, i got this error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> 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-30).
Dependency: androidx.window:window-java:1.0.0-beta04.
AAR metadata file: C:\Users\AROON\.gradle\caches\transforms-3\b129f0bfcee776fa267c95db8c5c2db9\transformed\jetified-window-java-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> 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-30).
Dependency: androidx.window:window:1.0.0-beta04.
AAR metadata file: C:\Users\AROON\.gradle\caches\transforms-3\6e15c63ef9bc785505f838554117a543\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 4s
┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a higher compileSdkVersion. │
│ Fix this issue by bumping the compileSdkVersion in C:\Users\AROON\OneDrive\Desktop\Learn │
│ flutter\toku_setup\android\app\build.gradle: │
│ android { │
│ compileSdkVersion 31 │
│ } │
└──────────────────────────────────────────────────────────────────────────────────────────┘
after download project and try to run it, i got this error
Please update code .... thank you