链接设备
adb connect ip
安装apk
adb install 包的路径.apk
唤起apk
adb shell am start com.DefaultCompany.Client/com.unity3d.player.UnityPlayerActivity
关闭apk
adb shell am force-stop com.DefaultCompany.Client
获取设备列表
adb devices
从设备上取出一个文件到PC
adb pull 设备上的路径 PC路径
例:adb pull /storage/emulated/0/Android/data/aa/bb.txt F:\Android
从pc推送文件到设备
adb push PC路径 设备路径
例:adb push F:\Android /storage/emulated/0/Android/data/aa
获取设备包名和首页路径名称(先启动一个apk)
adb shell dumpsys window|findstr mCurrentFocus