Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决Android Studio 的模拟器时间显示和本地不一致的问题 #143

Open
soapgu opened this issue May 13, 2022 · 0 comments
Open
Labels
problem problem or trouble 安卓 安卓

Comments

@soapgu
Copy link
Owner

soapgu commented May 13, 2022

  • 前言

来个短篇,因为疫情封控在家的关系,有的设备就没有条件真机调试了。基本上大多数工作让模拟器代劳了。经过一段时间的“驯服”,现在也是越来越顺手了。除了偶尔每次电脑休眠以后,我的模拟器就会失去连接无法交互,解决方法就是,“Cold Boot Now”简单粗暴

  • 时间显示的问题

其实这个问题早就发现了,只是不影响大局就一直忍了。
但是这次忍不了,我的会议排期直接显示不了,这下必须要彻底治下了。
其实时间也不是2000或者1900这种相差这么离谱,就是和本地时间正好差了这几个小时。

  • 原因和解决

主要原因是,时间没错,时区错了。
对的,就是utc时间是对的,time zone错了。
Android Studio 自动帮我把时区弄到美国去了。
图片
图片
按如下步骤设计即可

@soapgu soapgu added 安卓 安卓 problem problem or trouble labels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem problem or trouble 安卓 安卓
Projects
None yet
Development

No branches or pull requests

1 participant