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

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

Open
yinkh opened this issue Jun 27, 2023 · 1 comment
Open

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

yinkh opened this issue Jun 27, 2023 · 1 comment

Comments

@yinkh
Copy link
Contributor

yinkh commented Jun 27, 2023

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
Copy link
Contributor Author

yinkh commented Jun 27, 2023

1.2.9:
image
1.2.11:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant