Boa noite pessoal,
Será que alguêm consegue me dar uma luz, estou a duas semanas tentando iniciar esse projeto e não consigo, estou com erros ao iniciar os comandos no dois terminais, não sei se adicionei o diretório da SDK certo, estou com dificuldade para localizar o mesmo para criar a váriavel.
Desde já agradeço.
Comando: npx react-native start
Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:69:19) at Object.createHash (node:crypto:133:10) at stableHash (C:\Users\user\orgsHooks\node_modules\metro-cache\src\stableHash.js:19:8) at Object.getCacheKey (C:\Users\user\orgsHooks\node_modules\metro-transform-worker\src\index.js:593:7) at getTransformCacheKey (C:\Users\user\orgsHooks\node_modules\metro\src\DeltaBundler\getTransformCacheKey.js:24:19) at new Transformer (C:\Users\user\orgsHooks\node_modules\metro\src\DeltaBundler\Transformer.js:48:9) at C:\Users\user\orgsHooks\node_modules\metro\src\Bundler.js:22:29 at runNextTicks (node:internal/process/task_queues:60:5) at process.processTimers (node:internal/timers:509:9) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'
Comando: npx react-native run-android
`* What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Failed to install the following Android SDK packages as some licences have not been accepted. patcher;v4 SDK Patch Applier v4 platforms;android-30 Android SDK Platform 30 build-tools;30.0.2 Android SDK Build-Tools 30.0.2 platform-tools Android SDK Platform-Tools tools Android SDK Tools emulator Android Emulator To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager. Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using Android SDK: C:\Users\user.android\cache
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 8s
at makeError (C:\Users\user\orgsHooks\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at C:\Users\user\orgsHooks\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (C:\Users\user\orgsHooks\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\user\orgsHooks\node_modules\@react-native-community\cli\build\index.js:192:9)
info Run CLI with --verbose flag for more details.`
`