-
I'm new using Rust and Tauri and I'm building a desktop app to control a few things on my computer remotely (only LAN for now). Now I need to test it on android but I can't make the package (libdbus-sys) to compile on my system, so if anyone had this problem before or knows how to fix it, please share your wisdom 😄
Environment variables defined:
After setting the env
I copied that to
I tried different ndk versions and setting the
but it keeps being ignored as it use
And if I try to run the command
The same happens after setting the envs:
and
It seems nothing really matters at this point. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Is this still an issue? dbus is not supposed to be compiled for android afaik so this sounds like some dekstop-only crates are incorrectly enabled for mobile targets. Did you check whether a plain create-tauri-app project throws the same errors? |
Beta Was this translation helpful? Give feedback.
I've just found a solution to my problem. The problem was the
mpris
crate. So moving all dependencies used only by the desktop to its owndependencies
block, solved the problem I was facing for two weeks. I was almost giving up and moving the mobile version to React Native.After all the uncountable hours I spent trying to find a solution , I just want to highlight that the error messages I got was completely unhelpful. After the …