在cmd 命令窗口输入命令, adb shell “dumpsys window | grep mCurrentFocus” (还没安装adb的可以百度搜索解压包就好了) 即可获得当前App包名+activity名字