Код: Выделить всё
info Installing the app...
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build failed with an exception.
* Where:
Settings file 'I:\Projects\MapApp\android\settings.gradle' line: 2
* What went wrong:
Error resolving plugin [id: 'com.facebook.react.settings']
> java.io.UncheckedIOException: Could not move temporary workspace (I:\Projects\MapApp\android\.gradle\8.10.2\dependencies-accessors\...) to immutable location (I:\Projects\MapApp\android\.gradle\8.10.2\dependencies-accessors\...)
* 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.
BUILD FAILED in 40s
info Run CLI with --verbose flag for more details.
Эта ошибка появляется только во вновь созданном проекте.
Я я убедился, что моя среда разработки настроена правильно, запустив npx response-native Doctor.
Я:
Убедился, что Java и Android SDK установлены правильно.
Очистил кеш .gradle, используя gradlew clean.
Перезапустил систему и переустановил зависимости.
но все равно не работает.
Подробнее здесь: https://stackoverflow.com/questions/792 ... cebook-rea