Skip to content
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

🔧 Production Build Error with 4.5.3 #3192

Closed
4 of 5 tasks
SKHRAPP opened this issue Sep 11, 2024 · 5 comments
Closed
4 of 5 tasks

🔧 Production Build Error with 4.5.3 #3192

SKHRAPP opened this issue Sep 11, 2024 · 5 comments
Labels
🔧 build error Issue is related to building VisionCamera in your project

Comments

@SKHRAPP
Copy link

SKHRAPP commented Sep 11, 2024

How were you trying to build the app?

Getting error when try to make production Build

* What went wrong:
Execution failed for task ':app:packageStagingReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.PackageBundleTask$BundleToolWorkAction
   > Unrecognized native architecture for directory 'lib/riscv64'.

how to solve this issue @mo

Full build logs

.

Project dependencies

"dependencies": {
   "react-native": "0.74.2",
   "react-native-reanimated": "^3.14.0",
   "react-native-vision-camera": "^4.5.3",
   "react-native-worklets-core": "^1.3.3",
  }

VisionCamera Version

4.5.3

Target platforms

Android

Operating system

Linux

Can you build the VisionCamera Example app?

Yes, I can successfully build the Example app here

Additional information

@SKHRAPP SKHRAPP added the 🔧 build error Issue is related to building VisionCamera in your project label Sep 11, 2024
Copy link

Guten Tag, Hans here. 🍻

Thank you for providing your issue details, but I notice you did not include full build logs with more context, which mrousavy needs to properly analyze ze problem. Please make sure to provide complete logs from your build process, especially from Android Studio or by using adb logcat.

Also, it looks like you are encountering a native architecture issue – could you double-check if all of your dependencies are compatible with ze targeted architectures? If you need ze help, please also consult ze documentation and troubleshooting guide again, and provide any relevant logs.

If ze problem persists, feel free to update us with more information! In ze meantime, consider supporting ze project at this link to encourage more timely assistance.

Note: If you think I made a mistake, please ping @mrousavy to take a look.

@MahmoudHemaid
Copy link

I have same issue, and i can see many issues opened for same issue @mrousavy

@mrousavy
Copy link
Owner

This is not a VisionCamera error. In the logs you posted here there isn't even a single mention of VisionCamera. Please don't ping me everytime you have an issue @MahmoudHemaid .

@mrousavy mrousavy closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2024
@MahmoudHemaid
Copy link

MahmoudHemaid commented Sep 12, 2024

How about these issues?
#3177 and #3194

The issue is related to v4.5.3, people where able to make build works by downgrading to 4.5.2 so it's related to VisionCamera

@mrousavy
Copy link
Owner

replied there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 build error Issue is related to building VisionCamera in your project
Projects
None yet
Development

No branches or pull requests

3 participants