[FR] Option for mobile-install command to install to all connected devices

Open
#252 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
android
Domain
cli, mobile-dev

Research direction

The issue names the mobile-install command and its --adb_arg serial-based invocation, but no files or tests. Start by locating that command and tracing how connected devices are selected; done means an option can enumerate all connected devices or emulators and install the APK to each without repeating serial-specific invocations.

Written by the indexing model from the issue text.

Description

feature request mobile-install P4

This is a feature request to support the use case of running mobile-install on multiple connected devices. Currently mobile-install needs to be invoked multiple times with --adb_arg=-s --adb_arg=<SERIAL> for each ADB connected device.

Buck's install command has a multi-install mode which enumerates connected devices and installs to all of them, a similar option would be helpful in Bazel.

-all (-x) Install APK on all connected devices and/or emulators (multi-install mode).

Dominant language
Java
Stars
205
Forks
113
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazelbuild/rules_android

All issues in bazelbuild/rules_android

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.