adb查看手机当前启动App的应用名和包名
1、在手机上打开app
2、命令:adb shell dumpsys window w |findstr / |findstr name=
3、如下,查出来的包名应用名
~ adb.exe shell dumpsys window w |findstr \/ |findstr name=
mSurface=Surface(name=com.smile.gifmaker/com.yxcorp.plugin.search.SearchActivity)
mSurface=Surface(name=com.smile.gifmaker/com.yxcorp.gifshow.HomeActivity)
form: https://blog.csdn.net/hxy199421/article/details/81199245