Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
veniversum opened this issue Aug 7, 2024 · 1 comment
Labels
feature request New feature or request P4

Comments

@veniversum
Copy link

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).

@ted-xie
Copy link
Contributor

ted-xie commented Jan 24, 2025

We currently don't have an internal usecase for this. Most or all app developers at Google work on a single test device at a time, at least for the "inner loop" during which they'd use Bazel/Blaze.

However, the mobile-install deployer binary is implemented separately from the internal one. PRs are welcome for this directory tree: https://github.com/bazelbuild/rules_android/blob/main/src/tools/mi/deployment_oss/deploy_binary.go

@ted-xie ted-xie added P4 feature request New feature or request labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request P4
Projects
None yet
Development

No branches or pull requests

2 participants