未分類 2 4 月 2020 Android 系统时间不对有遇到的吗? Android 系统时间不对有遇到的吗? 資深大佬 : tonghuashuai 75 Pixel 4 xl,使用网络提供的时间和时区,发现快 7 分钟 大佬有話說 (8) 資深大佬 : 11dad 我的 2xl 和 s7e 也遇到过,重启时间就不对,遇到几次了,自己调下再设成自动吧 資深大佬 : JamesR 彻底解决方法: adb shell “settings put global ntp_server pool.ntp.org” 因为默认 NTP 服务器 Google 的 time 服务器,你被墙着,连不上的。 資深大佬 : augustheart 很多手机的计时精度很差的,只要一段时间没有网络同步时间就能差很多。顺便说,kindle 的计时精度真高,为了省电,我 kindle 大半年内一直是飞行模式使用,时间居然差不多(一分钟内) 資深大佬 : hsheng @JamesR 为啥不用 cn.pool.ntp.org ?默认的是 time.android.com 資深大佬 : hsheng 我不知道这个 adb shell settings put global ntp_server 命令,自己写了 overlay 把源代码 frameworks/base/core/res/res/values/config.xml 里的 config_ntpServer 替换了编译的 資深大佬 : JamesR @hsheng #4 看个人喜好,以前用过国内的某 NTP 服务器,快是挺快,后来挂了,我公司 N 多机器要改,累死我不说还耽误事,cn 不放心直接排除,用国际 NTP 服务器。默认的改时间后试过同步不了,具体域名各版本手机可能有差异。 資深大佬 : ShinichiYao 没插 SIM 卡吧? 主 資深大佬 : tonghuashuai @ShinichiYao 插了的