Note: /Users/rohitrajput/flutter/.pub-cache/hosted/pub.dartlang.org/adgydeflutterplugins-4.1.14/android/src/main/java/com/example/adgydeflutterplugin/AdgydeflutterpluginPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/rohitrajput/flutter/.pub-cache/hosted/pub.dartlang.org/adgydeflutterplugins-4.1.14/android/src/main/java/com/example/adgydeflutterplugin/AdgydeflutterpluginPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
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.work:work-runtime:2.7.0-rc01.
AAR metadata file: /Users/rohitrajput/.gradle/caches/transforms-3/42d7638d7210b22ae787addcb0c92df5/transformed/work-runtime-2.7.0-rc01/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.
I am getting the below errors while building
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
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.work:work-runtime:2.7.0-rc01.
AAR metadata file: /Users/rohitrajput/.gradle/caches/transforms-3/42d7638d7210b22ae787addcb0c92df5/transformed/work-runtime-2.7.0-rc01/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 1m 22s