經過adb shell dumpsys命令獲取當前應用的component

在android測試中,常常須要知道啓動一個Activity所須要的component,例如在monkeyrunner中啓動一個系統設置:startActivity(component="com.android.settings/com.android.settings.Settings"),那如何獲取該component 呢?python 有以下方法:linux 1.在有root 權限而且開啓了
相關文章
相關標籤/搜索