查看正在运行的APP的包信息

adb shell dumpsys window w | grep / | grep name= | cut -d = -f 3 | cut -d ) -f 1

原文地址:https://www.cnblogs.com/tantanjishu/p/7258379.html