Estoy creando una aplicación que usa webview. Instalé e importé la vista web y, al usarla, la aplicación no estaba instalada en el emulador de Android. Sin que la aplicación webview se instale correctamente. Intenté creando otro proyecto, por ejemplo, vuelve el mismo error.
Aquí está el error al usar webview:
FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * Where: Build file 'F:\FirstProject\node_modules\react-native-webview\android\build.gradle' line: 35 * What went wrong: A problem occurred evaluating project ':react-native-webview'. > org/jetbrains/kotlin/cli/common/PropertiesKt * 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. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: A problem occurred configuring project ':react-native-webview'. > compileSdkVersion is not specified. Please add it to build.gradle * 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 15sEstoy usando la versión de Java: java 15.0.2 compileSdkVersion: 30