进入AndroidStudio的Terminal
输入:adb shell "dumpsys window | grep mCurrentFocus"
查看结果: com.tencent.mm/com.tencent.mm.ui.LauncherUI

进入AndroidStudio的Terminal
输入:adb shell "dumpsys window | grep mCurrentFocus"
查看结果: com.tencent.mm/com.tencent.mm.ui.LauncherUI
本文标题:android查看当前显示的Activity包名
本文链接:https://www.haomeiwen.com/subject/qzotzqtx.html
网友评论