Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/androidbuild/tools.zig
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ pub fn adbInstall(sdk: *Sdk, apk: LazyPath) void {
}

/// Install an APK onto your Android device or emulator
/// ie. "adb install ./zig-out/bin/minimal.apk"
/// ie. "adb install -r ./zig-out/bin/minimal.apk"
pub fn addAdbInstall(sdk: *Sdk, apk: LazyPath) *Step.Run {
const b = sdk.b;
if (sdk.platform_tools.adb.len == 0) {
Expand All @@ -212,6 +212,7 @@ pub fn addAdbInstall(sdk: *Sdk, apk: LazyPath) *Step.Run {
const adb_install = b.addSystemCommand(&.{
sdk.platform_tools.adb,
"install",
"-r",
});
adb_install.addFileArg(apk);
return adb_install;
Expand Down
Loading