From 7db7142f9ff7dc2f5719602e199b77129ceb19d3 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Fri, 29 Aug 2025 11:45:04 -0300 Subject: [PATCH] fix(cli): empty Android emulator name (#14119) applies https://github.com/tauri-apps/cargo-mobile2/pull/481 --- .changes/fix-emulator-name.md | 6 ++++++ Cargo.lock | 4 ++-- crates/tauri-cli/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changes/fix-emulator-name.md diff --git a/.changes/fix-emulator-name.md b/.changes/fix-emulator-name.md new file mode 100644 index 000000000..20bf512ec --- /dev/null +++ b/.changes/fix-emulator-name.md @@ -0,0 +1,6 @@ +--- +"tauri-cli": patch:bug +"@tauri-apps/cli": patch:bug +--- + +Fixes empty device name when using an Android emulator causing the emulator to never be detected as running. diff --git a/Cargo.lock b/Cargo.lock index 9be77bdb1..8e8d93be1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1055,9 +1055,9 @@ dependencies = [ [[package]] name = "cargo-mobile2" -version = "0.20.5" +version = "0.20.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567e0eecdee84aa11424c2ad1c5dd30cdd820934e1ef1cc9fc51cfbde5782589" +checksum = "35613119e2e16b293e56557a27da0d5bc42031f5edc0bf4f73a2b4d310d39c65" dependencies = [ "colored", "core-foundation 0.10.0", diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 7ae311546..46d095f5c 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -36,7 +36,7 @@ name = "cargo-tauri" path = "src/main.rs" [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\", target_os = \"windows\", target_os = \"macos\"))".dependencies] -cargo-mobile2 = { version = "0.20.5", default-features = false } +cargo-mobile2 = { version = "0.20.6", default-features = false } [dependencies] jsonrpsee = { version = "0.24", features = ["server"] }