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