adb 获取app 当前 activity,以及打开

adb logcat | grep Displayed

或者

adb shell dumpsys window | findstr mCurrentFocus

adb 命令打开指定 activity

adb shell am start -n com.***.view/com.***.***.Activity -S
原创文章 375 获赞 138 访问量 53万+

猜你喜欢

转载自blog.csdn.net/qq_27061049/article/details/105412554