-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[bug] Android os error 2 with sidecar #9774
Comments
As far as i know, sidecars are simply not supported on mobile. I hope we can improve the errors somehow though 🤔 |
Can I call it with a rust code snippet like this |
I don't think the binary is even included in the apk/aab so no. In a general sense, the path must point to where the file is after installation, so no src-tauri mention. |
Thanks, I understand that. |
It's not planned right now but it's not a definite "no, never" yet. Either way I doubt that it will be part of the initial 2.0 Release. |
Describe the bug
Error: Uncaught (in promise) No such file or directory (os error 2)
Event: Command.sidecar("bin/pipy", args) ...call sidecar
Sidecar position: src-tauri/bin/pipy-aarch64-linux-android
Sidecar package position: src-tauri/target/aarch64-linux-android/debug/pipy
Sidecar bundle: tauri.conf.json => bundle > "externalBin": ["bin/pipy"]
Simply put, I saw that the sidecar had been packaged in a reasonable location, but when running on the Android emulator, I couldn't find the file. What I can confirm is that other programs can run as usual, and on Mac OS and Windows, my sidecar still works as usual, but it can't be found on the Android emulator
Here is my Cargo.toml configuration:
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: