Olá, estou iniciando agora o curso: React Native: criando menu e navegando entre telas, no inicio do curso foi sugerido baixar um projeto já existente, com o comando #npm start o projeto executa normalmente sem nenhum erro, contudo quando executo o comando #npm run android recebo um erro de falha de execução, já verifiquei meu ambiente, mas aparentemente está tudo correto, eu criei o projeto orgs anteriormente e não tive problemas. O erro que eu recebi foi o seguinte:
#npm run android
orgsnavegacao@0.0.1 android C:\Users\winicius.farias\Desktop\Winicius\alura\React Native - criando um app\Criando menu e navegando entre telas\rnnavigation react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 911 file(s) to forward-jetify. Using 16 workers... info JS server already running.
- daemon not running; starting now at tcp:5037
- daemon started successfully info Installing the app... Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
FAILURE: Build failed with an exception.
Where: Settings file 'C:\Users\winicius.farias\Desktop\Winicius\alura\React Native - criando um app\Criando menu e navegando entre telas\rnnavigation\android\settings.gradle'
What went wrong: Could not compile settings file 'C:\Users\winicius.farias\Desktop\Winicius\alura\React Native - criando um app\Criando menu e navegando entre telas\rnnavigation\android\settings.gradle'.
startup failed: General error during semantic analysis: Unsupported class file major version 63
...... informações do java........ ...... informações do java........ ...... informações do java........ ...... informações do java........ ...... informações do java........
1 error
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 604ms
at makeError (C:\Users\winicius.farias\Desktop\Winicius\alura\React Native - criando um app\Criando menu e navegando entre telas\rnnavigation\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at C:\Users\winicius.farias\Desktop\Winicius\alura\React Native - criando um app\Criando menu e navegando entre telas\rnnavigation\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async runOnAllDevices (C:\Users\winicius.farias\Desktop\Winicius\alura\React Native - criando um app\Criando menu e navegando entre telas\rnnavigation\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\winicius.farias\Desktop\Winicius\alura\React Native - criando um app\Criando menu e navegando entre telas\rnnavigation\node_modules\@react-native-community\cli\build\index.js:192:9)
info Run CLI with --verbose flag for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! orgsnavegacao@0.0.1 android: react-native run-android
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the orgsnavegacao@0.0.1 android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\winicius.farias\AppData\Roaming\npm-cache_logs\2022-10-21T19_37_40_361Z-debug.log