Skip to content

Missing adb install-multiple API #144

@skyf0l

Description

@skyf0l

Hello, the adb install command is covered by the following install function, but there is no equivalent for the adb install-multiple command.
Without it, I can't install APKs requiring several sub APKs. Do you have any workaround without calling adb install-multiple via a os.system call?

def install(self,
path_or_url: str,
nolaunch: bool = False,
uninstall: bool = False,
silent: bool = False,
callback: typing.Callable[[str], None] = None,
flags: list = ["-r", "-t"]):
"""
Install APK to device
Args:
path_or_url: local path or http url
nolaunch: do not launch app after install
uninstall: uninstall app before install
silent: disable log message print
callback: only two event now: <"BEFORE_INSTALL" | "FINALLY">
flags (list): default ["-r", "-t"]
Raises:
AdbInstallError, BrokenPipeError
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions