-------------------------------------------
adb kill-server --停止adb服务
adb start-server --开启adb服务
-------------------------------------------
连接夜神模拟器
1.安卓SDK的adb替换夜神安装目录的子目录bin的adb
2.再次复制SDK的adb并更名为nox_adb.exe并替换掉bin目录的同名文件
2.进入bin目录,打开CMD命令行
3.执行adb connect 127.0.0.1:62001
4.执行adb devices
-------------------------------------------
adb shell pm list packages -3 查询安装的第三方APP包名
adb shell dumpsys window | findstr mCurrentFocus 查询当前运行应用的包名、Activity