facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.39k stars 24.36k forks source link

Build failed #47692

Open Pradip-BCA opened 3 days ago

Pradip-BCA commented 3 days ago

Description

FAILURE: Build failed with an exception.

BUILD FAILED in 10s info Run CLI with --verbose flag for more details.

Steps to reproduce

FAILURE: Build failed with an exception.

BUILD FAILED in 10s info Run CLI with --verbose flag for more details.

React Native Version

0.76.2

Affected Platforms

Runtime - Android

Output of npx react-native info

Windows 11
8GB RAM, 512 GB SAD
AND RISEN 5
PLEASE SOLVE THE PROBLEM

Stacktrace or Logs

FAILURE: Build failed with an exception.

* Where:
Settings file 'D:\Mobile_App_Devlopment\LetestMobileApp\demo\android\settings.gradle' line: 2

* What went wrong:
Error resolving plugin [id: 'com.facebook.react.settings']
> java.io.UncheckedIOException: Could not move temporary workspace (D:\Mobile_App_Devlopment\LetestMobileApp\demo\android\.gradle\8.10.2\dependencies-accessors\569c8b261a8a714d7731d5f568e0e5c05babae10-5dd2a0af-cc67-4253-ad4c-ccfe5db8d92b) to immutable location (D:\Mobile_App_Devlopment\LetestMobileApp\demo\android\.gradle\8.10.2\dependencies-accessors\569c8b261a8a714d7731d5f568e0e5c05babae10)

* 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 10s
info Run CLI with --verbose flag for more details.

Reproducer

expo/expo-template-default

Screenshots and Videos

Screenshot 2024-11-19 092250

react-native-bot commented 3 days ago

[!WARNING] Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

Sanjayng125 commented 3 days ago

Try cd android ./gradlew clean And npx react-native run android or npm start