Closed lalithasj closed 3 days ago
same issue. I am using mac m1
Hi,
I'm facing an issue with my Android build after upgrading the React Native version to 0.75.2
Help will be highly appreciated!
Hi,
I'm facing an issue with my Android build after upgrading the React Native version to 0.75.2
Help will be highly appreciated!
I have the same problems and also hope the RN team can help us with them.
Hi, changing the npm react-native and npm @react-native-community/cli versions to previous versions is also not helpful.
Appreciate any suggestions
i am also facing same issue Appreciate any suggestions
Actually IDK but it is working when you run npm run android
it will open another terminal on windows and the build fail on vs code, but if you click a
on that new terminal It will create and install build, but error of metro run running. After that you just do npm run android
again and it will install and run perfect.
Hi @piyush362 , Thank you for your response. But your suggestion isn't working for me. npm run android in VS code and then a in the metro window. Then again npm run android in VS Code window not working.
Hi @piyush362 , Thank you for your response. But your suggestion isn't working for me. npm run android in VS code and then a in the metro window. Then again npm run android in VS Code window not working.
For now, you can use v0.73. or v0.74. for more stable perfomance
Hi @piyush362 ,
Thank you for your suggestion. Unfortunately this is also not working
npx react-native@0.73 init RNExpress3 --template react-native-template-typescript
npx @react-native-community/cli@11.4.1 init RNExpressEcomm2
npx react-native@0.73 init RNExpress1
Appreciate any suggestions
Closing as duplicate of:
@lalithasj please try again with 0.75.3 and report back if the issue persists.
Hi @cortinico,
Thank you for your suggestion. I tried with 0.75.3
FAILURE: Build failed with an exception. tion: Could not move temporary workspace (E:\ReactNative\TestSept12\android.gradle\8.8\dependencies-accessors\569c8b261a8a714d7731d5f568e0e5c05babae10-d2f93cd8-cdb8-49ec-a8cb-6b8dbb956526) to immutable location (E:\ReactNative\TestSept12\android.gradle\8.8\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 15s.
Appreciate any suggestions
Let's keep the conversation in https://github.com/facebook/react-native/issues/46210
Description
Hi, I tried using npx react-native init Client and npx @react-native-community/cli@latest init Client. Both times, the build failed. Android Emulator and Metro are connected, but not recognizing My package.json file: { "name": "Client", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "lint": "eslint .", "start": "react-native start", "test": "jest" }, "dependencies": { "react": "^18.1.0", "react-native": "0.75.2" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/babel-preset": "0.75.2", "@react-native/eslint-config": "0.75.2", "@react-native/metro-config": "0.75.2", "@react-native/typescript-config": "0.75.2", "@types/react": "^18.2.6", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.6.3", "eslint": "^8.19.0", "jest": "^29.6.3", "prettier": "2.8.8", "react-test-renderer": "18.3.1", "typescript": "5.0.4" }, "engines": { "node": ">=18" } }
Thanks, Lalitha
Steps to reproduce
npx @react-native-community/cli@latest init Client
React Native Version
0.75.2
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/lalithasj/Client/tree/main
Screenshots and Videos
No response