命令行安装与卸载apk的命令

adb install “C:\tk\app-release.apk"  安装
python monkeyTest.py -p com.zhuishu.reader  执行python
adb uninstall com.zhuishu.reader   卸载

如何获取包名:
1.使用USB连接你的手机到电脑上,输入下图所示的命令后按下回车键:adb devices,显示如下说明手机已经连接上了
2.使用手机打开某个应用程序
3.回到命令号窗口,输入代码如下:adb shell dumpsys window w |findstr \/ |findstr name=

猜你喜欢

转载自www.cnblogs.com/test815/p/10848970.html
今日推荐