From fd292a03b37bf18855e145f98304e3ffa26d3631 Mon Sep 17 00:00:00 2001 From: Avinash Thakur Date: Wed, 22 Jul 2026 20:14:54 +0530 Subject: [PATCH] fix: search only default user to get uid fixes https://github.com/mzdk100/cargo-apk2/issues/20 --- ndk-build2/src/apk.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ndk-build2/src/apk.rs b/ndk-build2/src/apk.rs index ea3cf21..1dffd46 100644 --- a/ndk-build2/src/apk.rs +++ b/ndk-build2/src/apk.rs @@ -586,6 +586,8 @@ impl Apk { .arg("list") .arg("package") .arg("-U") + .arg("--user") + .arg("0") .arg(&self.package_name); let output = adb.output()?;