Ao executar o comando npx React-native run-android
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Where: Build file 'D:\Desenvolvimento\workspace_vscode\Lighteria\node_modules\react-native-navigation\lib\android\app\build.gradle' line: 5
What went wrong: A problem occurred evaluating project ':react-native-navigation'.
Plugin with id 'kotlin-android' not found.
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-navigation'.
compileSdkVersion is not specified.
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
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Where: Build file 'D:\Desenvolvimento\workspace_vscode\Lighteria\node_modules\react-native-navigation\lib\android\app\build.gradle' line: 5
What went wrong: A problem occurred evaluating project ':react-native-navigation'.
Plugin with id 'kotlin-android' not found.
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-navigation'.
compileSdkVersion is not specified.
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
at checkExecSyncError (child_process.js:643:11)
at execFileSync (child_process.js:661:15)
at runOnAllDevices (D:\Desenvolvimento\workspace_vscode\Lighteria\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:74:39)
at buildAndRun (D:\Desenvolvimento\workspace_vscode\Lighteria\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:158:41)
at D:\Desenvolvimento\workspace_vscode\Lighteria\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:125:12
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Command.handleAction (D:\Desenvolvimento\workspace_vscode\Lighteria\node_modules\@react-native-community\cli\build\cliEntry.js:160:7)
A versão do Gradle é a 7.1.1