Closed nazacity closed 3 weeks ago
have the same error, even with the newest version (as op mentioned in the title)
i upgrade to rn 0.76.1 still got the error
Hello!
Can you try cleaning your android project and running find . -name ".cxx" -type d -prune -exec rm -rf '{}' +
(deletes .cxx folders which might be cached from previous build) from the root of your repo?
Please let me know if that helps, thank you.
edit: or alternatively git clean -xfd
I already tried that (deleting .cxx and build folders from android and android/app and deleting&reinstalling whole node_modules) without any success
Hi! Well, in that case I believe a Minimal, Reproducible Example will be needed. Note that the CI on this PR passes - that PR runs an app with RN 0.76.1 and builds for both old and new architecture.
i upgraded react-native-safe-area-context to V4.13.1 delete node_modules reinstall delete .cxx folder npx react-native clean still no hope
i updated every lib by ncu -i then delete node_modules reinstall again and npm run state --reset-cache this time success
I already tried that (deleting .cxx and build folders from android and android/app and deleting&reinstalling whole node_modules) without any success
try to update all lib
specially
"@react-native/codegen": "^0.76.1",
"@react-native/gradle-plugin": "^0.76.1",
I was trying to upgrade to rn0.76.1 and got below error I tried to remove node_modules folder and reinstall run gradlew clean it's still not working
package
React native info