View all package names
输入 adb devices 检验是否成功连接手机
输入 adb shell 进入手机的shell
输入 pm list packages 显示所有应用包名
The package name of Huawei mate20 Hongmeng system vibrato is com.ss.android.ugc.aweme
Search package according to a certain keyword
adb shell pm list packages | grep tencent
View package installation location
adb shell pm list packages -f
Packages can be filtered
adb shell pm list packages -f | grep tencent
reference
ADB command to view the application package name
View the package name of the currently running application
adb shell dumpsys window w |findstr \/ |findstr name=
It will display the application registration and the activity of the current application
reference
adb View the package name and Activity of the currently running application
Use ADB to start the mobile phone APP
Android adb several ways to start any app
adb simulates sliding screen events
adb starts Douyin APP command
adb shell am start -n com.ss.android.ugc.aweme/com.ss.android.ugc.aweme.splash.SplashActivity
dumpsys SurfaceFlinger --fps=1