adbutils icon indicating copy to clipboard operation
adbutils copied to clipboard

1.2.11 device.install 不支持配置flags参数了

Open yinkh opened this issue 1 year ago • 1 comments

1.2.9版本的 device.install 支持配置flags参数,升级1.2.11后不支持了。

    # 安装
    # -r: 覆盖安装已存在Apk,并保持原有数据
    # -t: 运行安装测试Apk
    # -d: 运行安装低版本Apk;
    device.install(str(apk_path), flags=["-r", "-t", "-d"])

yinkh avatar Jun 27 '23 06:06 yinkh

1.2.9: image 1.2.11: image

yinkh avatar Jun 27 '23 06:06 yinkh