Tengo un problema cuando intento compilar mi aplicación de Android (el error comenzó a ocurrir entre una compilación y otra, estaba funcionando) y no sé cómo solucionarlo. sigue a la impresión. (lo siento, mi español es el traductor de google)
error: error: FAILURE: Build failed with an exception. error: error: * What went wrong: error: Execution failed for task ':SDFP0002W:checkReleaseAarMetadata'. error: > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction error: > The minCompileSdk (31) specified in a error: dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) error: is greater than this module's compileSdkVersion (android-30). error: Dependency: androidx.work:work-runtime:2.7.0-beta01. error: AAR metadata file: C:\Users\lennon.gradle\caches\transforms-2\files-2.1\440762cae2370f27e3b4adfcfa059f2d\work-runtime-2.7.0-beta01\META-INF\com\android\build\gradle\aar-metadata.properties. error: error: * Try: error: 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. error: error: * Get more help at https://help.gradle.org 5 actionable tasks: 2 executed, 3 up-to-date error: error: BUILD FAILED in 11s Failed: Android Compilation - Elapsed time: 00:00:13.5634520