# 由于GoogleTV最新版USB调试修改(默认端口随机,不再是5555),需要使用latest-googletv-adb.zip工具,需要先配对 # 前提:GoogleTV打开开发者模式,开启USB调试,开启无线调试,然后使用配对码方式配对 adb pair 192.168.1.2:12345 //输入配对码:23456789 >配对正确后,已经连接上了;后续再连接只需要 adb connect 192.168.1.2:12345 # adb连接上以后,可以输入下面命令查看设备列表 adb devices # adb 修改NTP服务器 adb shell settings put global ntp_server ntp1.aliyun.com # 查询 adb shell settings get global ntp_server # 清空设置的ntp服务器 adb shell settings delete global ntp_server # adb修改联网测试地址(解决连接wifi后显示无网络连接的问题) adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204 # 查询 adb shell settings get global captive_portal_https_url # 清空设置的测试网址 adb shell settings delete global captive_portal_https_url # 安装软件,建议把软件安装包放在adb.exe同目录下(Tab键可补全) adb install xxxxx.apk # 重启GoogleTV adb reboot # 断开连接 adb disconnect