react-native
react-native copied to clipboard
* Where: Settings file 'C:\Users\Debasis\Desktop\vipani-app\android\settings.gradle' line: 13 * What went wrong: Error resolving plugin [id: 'com.facebook.react.settings']
Description
When I run the command in the android folder root ./gradlew assembleRelease for the process to generate the apk file from the react native app where I used expo, this error is coming.
First time, I developed a react-native project using Expo and other libraries and I'm facing to generate the apk file out of it.
Any suggestions for generating apk file out of my expo react native project would also be very helpful
Steps to reproduce
- Initiated the app using:
expo init . - Then after a while, used
expo eject, for bringing android folder cause it was unavailable at first cause of using expo. - Used this command to initiate exporting apk:
keytool -genkey -v -keystore C:\Users\Debasis\my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 - Then used
./gradlew assembleRelease.
React Native Version
0.74.5
Affected Platforms
Not linked to any particular as it is about getting APK file.
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.22631
CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
Memory: 598.68 MB / 7.84 GB
Binaries:
Node:
version: 18.20.4
path: C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm:
version: 10.7.0
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-241.18034.62.2411.12169540
Visual Studio: Not Found
Languages:
Java: 22.0.2
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
info React Native v0.75.2 is now available (your project is running on v0.74.5).
Stacktrace or Logs
FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\Users\Debasis\Desktop\vipani-app\android\settings.gradle' line: 13
* What went wrong:
Error resolving plugin [id: 'com.facebook.react.settings']
> java.io.UncheckedIOException: Could not move temporary workspace (C:\Users\Debasis\Desktop\vipani-app\android\.gradle\8.8\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a-6251eb4e-fb26-4499-826a-4864ad535012) to immutable location (C:\Users\Debasis\Desktop\vipani-app\android\.gradle\8.8\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a)
* 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 2s
Reproducer
https://github.com/Debasis08/Chat-system-vipani
Screenshots and Videos
No response
same issue.
| :warning: | Issue is Related to Expo |
|---|---|
| :information_source: | It looks like your issue is related to Expo and not React Native core. Please open your issue in Expo's repository. If you are able to create a repro that showcases that this issue is also happening in React Native vanilla, we will be happy to re-open. |
@cortinico i mistakenly exposed some sensitive details in here. Although I have edited, its still showing up in the google results. Can you please delete this issue?