當前位置:首頁
> adb獲取當前應用包名
adb獲取當前應用包名(adb獲取app頁面元素)
命令窗口輸入adb shell logcat grep cmp= 然后打開想要獲取的APP,終端會顯示當前打開的APP包名和Activity名稱,如下圖。 以下命令可以獲取當前應用的包名,以及當前頁面所在的 Activity。 17adb shell kill pid 殺死進程 18adb shel...