-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 build error when enabling frame processor (V3 - RN 0.72.4) #1775
Comments
version |
Still getting the issue. If I disable the frame processor, I am able to build the app. That's a strange error too that I couldn't find any answer online. |
Encountered the same issue, but it turns out that I forgot to update some configs: Note: Take a look at this issue first. (I used patch-package for this one) Forgot to update my imports in root
|
After adding
babel.config.js
|
In my experience,
I think that there might be a cleaner way to do this but I found that this will work so left it at that. |
@karri-lehtiranta could you please send your CMakeLists.txt ? |
The worklets-core import should probably be under if(ENABLE_FRAME_PROCESSORS) but didn't try that as this version worked. |
Thank you @karri-lehtiranta I will try |
finally fixed with this line
|
Hey - this should be fixed with the latest update in VisionCamera V3 (🥳) - if not, please create a new issue. If your issue has been fixed, consider sponsoring me on GitHub to say thanks 💖 |
I have seen similar build errors in RN Worklets cc @chrfalch |
It's necessery now? |
Wait whats wrong with that line? I think this could be a PR to RN Worklets Core to fix it cleaning up, no? |
I tried this and it works. But after opening the camera with frameprocessor it crashed. package.json "dependencies": { babel.config.js module.exports = { Crash log is below |
@BuiHung1612 this is a different issue, follow #1776 |
@mrousavy I'm getting the same issue here. Using v3 and React Native 0.72.
I saw you're defining |
Hello @nnabinh , thanks |
same problem |
I am facing the same error here
|
@RP-alissonpaschoal This worked for me: #1547 (comment) |
How were you trying to build the app?
I tried to build my app on Android with
npx react-native run-android
and it fails.Full build logs
Project dependencies
Target platforms
Android
Operating system
MacOS
Can you build the VisionCamera Example app?
Additional information
The text was updated successfully, but these errors were encountered: