adb使用

3 阅读1分钟

打开inspect调试

adb shell setprop persist.wisky.hold_enable_adb 密码;

adb shell setprop persist.wisky.app_install true

截屏命令

adb shell screencap -p /sdcard/screen.png

chrome调试无法使用的时候,需要使用的命令

adb shell setprop persist.wisky.hold_enable_adb 密码

adb shell setprop persist.wisky.app_install true

高版本adb:

adb shell "setprop persist.wisky.hold_enable_adb 密码"

adb shell "setprop persist.wisky.app_install true"

打开安卓证书安装

adb root

adb shell am start -a android.settings.SECURITY_SETTINGS

打印排查联调

adb logcat -v time | grep BaseSwipeBackActivity