A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (31) specified

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.CheckAarMetadataWorkActionThe minCompileSdk (31) specified in adependency’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\Asish.gradle\caches\transforms-2\files-2.1\625039eaad011f884ddd84f857a44b7f\jetified-window-java-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties.A failure occurred while executing… Read More

Error: Cannot run with sound null safety, because the following dependencies don’t support null safety:

Error: Cannot run with sound null safety, because the following dependencies don’t support null safety: – package:flutter_appauth – package:flutter_appauth_platform_interface – package:plugin_platform_interface For solutions, see https://dart.dev/go/unsound-null-safety Unhandled exception: Bad state: Unsupported Null Safety mode NonNullableByDefaultCompiledMode.Invalid, in null. #0 ProgramCompiler.emitModule (package:dev_compiler/src/kernel/compiler.dart:471:9) #1 JavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:152:33) #2 FrontendCompiler.writeJavascriptBundle (package:frontend_server/frontend_server.dart:649:47)… Read More