1.adb连接模拟机
adb connect 127.0.0.1:7555
2.查看连接状态
adb devices
3.查看模拟器上所有的app包
adb shell pm list packages
4.查看要启动app的包名
adb shell pm list packages | findstr wework
5.抓取详细日志(1 代表次数)
adb shell monkey -p "com.tencent.wework" -vvv 1
Powered by: 博客园 Copyright © 2024 等峰也等你 Powered by .NET 9.0 on Kubernetes