1.Android Things断电后日期为2009年1月1日,由于墙的问题,不能通过网络校时。
2.设置位国内NTP服务器,如阿里云的: ntp.aliyun.com ,具体可参考 https://help.aliyun.com/document_detail/92704.html
3.设置NTP服务
adb shell settings put global ntp_server ntp.aliyun.com
4.查询NTP服务
adb shell settings get global ntp_server
5.adb提权
adb root
6.查看时区信息
adb shell cat /data/property/persist.sys.timezone
7.设置时区信息
adb shell setprop persist.sys.timezone Asia/Shanghai
8.操作设备
#连接设备
adb connect 192.168.0.xxx 5555
#查看设备
adb devices
#指定设备
adb -s 192.168.0.xxx
9.安装非市场应用
#允许安装
adb shell settings put secure install_non_market_apps 1
#不允许安装
adb shell settings put secure install_non_market_apps 0
#然而实际中还是不能通过远程直接安装应用。
10.android 配置官方
https://developer.android.google.cn/reference/android/provider/Settings.Global