-
Connect the mobile phone to the computer, turn on USB debugging,
-
Windows downloads ADB, sets environment variables, and then opens cmd
-
Obtain the package name + activity name of the APP currently running on the phone
adb commandadb shell dumpsys window | findstr mCurrentFocus
-
Results of the
mCurrentFocus=Window{ d9a816a u0 com.xxx.xxx/com.xxx.xxx.ui.activity.TabActivity}
Where com.xxx.xxx is the package name,
-
ADB start APP command:
adb shell am start com.xxx.xxx/com.xxx.xxx.ui.activity.TabActivity
Get the package name + Activity name of the APP currently running on the phone & use the ADB command to start the phone (Android) APP
Guess you like
Origin blog.csdn.net/qq_39735878/article/details/125184616
Recommended
Ranking