-
-
Notifications
You must be signed in to change notification settings - Fork 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
🐛 No able to build Android - react-native-vision-camera:downloadBoost FAILED #1489
Comments
I have exactly the same issue |
the only way I could by pass the error was copy paste the old folder when it used to work ../node_modules/react-native-vision-camera in my current project |
I'm using this patch to download boost from another site for the time being, but not sure how reliable it is for the future
|
This is a downloading issue. Nothing wrong with the code. Rather it looks like a server issue. Either there is an API throttling owing to too many download requests or the server is not responding to enable download. In my case, it downloaded successfully more than 5 times. But then it started to fail in subsequent app builds. In one case, it went till 50KB/125MB and then failed. During second try, it downloaded till 157KB and then failed again. I think wait a little and try again. Or if in rush do a patch as shared by @RodSarhan |
Had |
Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3. I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here? Here's an instruction on how you can test that: #1674 (comment) If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉 Thank you! |
What were you trying to do?
I'm trying to build Android using react-native run-android but instead I'm getting this error Task :react-native-vision-camera:downloadBoost FAILED
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Reproduceable Code
What happened instead?
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-vision-camera:downloadBoost'.
Relevant log output
Device
Any Android Simulator
VisionCamera Version
2.15.1
Additional information
The text was updated successfully, but these errors were encountered: