Fix/fix third party ndk headers not found with REACT_NATIVE_DOWNLOADS_DIR setted
What
After setting REACT_NATIVE_DOWNLOADS_DIR environment variable, rebuilding will be failed with follow reasons:
This is just because we forget to unzip the cached resources and copy them into the thirdPartyNdkDir dir
Changes
Remove the dependOn guard in prepareThirdPartyNdkHeaders task so that the prepare tasks could be done.
Tested on
- Pixel 7 Pro emulator, SDK 34
Related issues
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| react-native-vision-camera | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 9, 2023 8:42am |
Doesn't this run quite often then now? I think those steps are invoked very often, not just once...
Can you confirm that the files are not unnecessarily being unzipped multiple times by addiing logs there?
Can you confirm that the files are not unnecessarily being unzipped multiple times by addiing logs there?
This is the build log after gradle clean
This is the rebuild log with cache
And i found that the mtime of the unziped files in
third-party-ndk had also not been changed, so i confirm that the files are not unnecessarily being unzipped multiple times
Hi, should this pr be merged or closed?