Skip to content

Tauri android dev fails trying to build libdbus-sys on Arch Linux #10730

Answered by lcdss
lcdss asked this question in Q&A
Discussion options

You must be logged in to vote

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 own dependencies block, solved the problem I was facing for two weeks. I was almost giving up and moving the mobile version to React Native.

[dependencies]
serde_json = "1"
tauri = { version = "2.0.0-rc", features = ["tray-icon"] }

[target.'cfg(target_os = "linux")'.dependencies]
actix-cors = "0"
actix-web = "4"
lazy-regex = "3.3.0"
mpris = "2"
serde = "1"
tauri-plugin-shell = "2.0.0-rc"
tokio = "1"

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 …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lcdss
Comment options

Answer selected by lcdss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants