-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android NDK, Hermes and Gradle cache issues on Ubuntu, MacOS when building for android #13
Comments
Commands executes after deleting gradle cache and build folders. Relevant links: |
wrong path error - that file does not exist in gradle/caches - issue with prefab
new react-native clone
after updating to SDK 31 and ndk24
after install SDK 31 https://github.com/facebook/react-native/pull/33396/files#diff-b05c07809d909b212fb146f58bef66ffbf2b18d8ccfd2e5664788d5de883ccb8L90-R104 CMakeError.log CMakeOutput.log
|
|
I believe this issue is caused by react-native internal ndk or other build cache. I tried to clear the cache with commands like
but did not work. I cloned again the repo and built again, as I did not know which folders to delete.|
It works now on commit facebook/react-native@8adedfe I believe some cache is saved in the react-native project, I tried many times to delete ~/.gradle, but was not enough Related #10 |
When those kind of things happens, We also have a |
I experienced again issues with the build after rebasing to fabOnReact/react-native@5534634 full log of the error
I solved them with the following steps:
|
Small nit:
the first command is cleaning a superset of the folders cleaned from the second command. |
I include this for documentation purposes as I experience this issue many times. Command
This and all the other issues are solved when running these commands, but the build will take 30-60 minutes. It reproduces often aften a rebase or changing branch. This specific issue is caused by duplicated files.
I was able to fix this with the following steps:
full log
partial log
error after deleting .gradle cache
|
output from running build
after adding APP_ALLOW_MISSING_DEPS := true
Relevant Links
react_codegen_rncore
folly_json
The text was updated successfully, but these errors were encountered: