Oi, tudo bem? Depois de baixar o projeto novo e dar os comandos mostrados na aula (npm i e npm start), quando vou fazer o comando npm run android aparece o seguinte erro:
StStarting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details > Task :react-native-svg:generateDebugRFile FAILED 28 actionable tasks: 28 executed FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-svg:generateDebugRFile'. > Could not resolve all files for configuration ':react-native-svg:debugCompileClasspath'. > Failed to transform react-native-0.71.0-rc.0-debug.aar (com.facebook.react:react-native:0.71.0-rc.0) to match attributes {artifactType=android-symbol-with-package-name, com.android.build.api.attributes.BuildTypeAttr=debug, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-api}. > Execution failed for JetifyTransform: C:\Users\eduar.gradle\caches\modules-2\files-2.1\com.facebook.react\react-native\0.71.0-rc.0\7a7f5a0af6ebd8eb94f7e5f7495e9d9684b4f543\react-native-0.71.0-rc.0-debug.aar. > Java heap space * 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 2m 24s error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Alguem sabe o que eu posso estar fazendo de errado? O projeto das aulas passadas rodavam normalmente.
Obrigado! :)