当前位置:网站首页>ADB common commands

ADB common commands

2022-06-25 22:54:00 Forestᝰ

monkey Stability test command
adb shell monkey -p Package name ( There is no limit to the quantity ) -v-v-v( Output log level ) -500( Number of random tests )

adb --help / adb : See help message
adb start-server: start-up adb service
adb kill-server: close adb service
adb devices: Check the mobile device number
adb shell getprop ro.build.version.release: Get system version
adb push The computer mobile phone
adb pull mobile phone The computer
adb logcat | grep(unix) Package name
adb logcat | findstr(win) Package name
adb shell : Get into shell Command line , Can operate Linux command
adb shell dumpsys window windows | grep mFocusedApp: Get package name Start name (win:adb shell dumpsys window
windows | findstr mFocusedApp)
adb install route /apk file : install apk The mobile phone
adb uninstall Package name : uninstall app From the phone
adb shell am start -W Package name / Start name :app Starting time

原网站

版权声明
本文为[Forestᝰ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206251912256176.html

随机推荐