1、启动app,将app置于最顶部,也就是打开手机第一个app
2、执行 adb shell dumpsys activity top 命令,查看内容如下:
adb命令查看android app包名
原文:https://www.cnblogs.com/bpsh/p/14596394.html