我正在尝试使用setprop命令更改我的android设备上的时区,但未在设备上反映出来(我也尝试过重新启动)
I am trying to change the timezone on my android device using setprop command, but it doesn't reflect on the device (I tried restarting too)
shell@ASUS_Z010:/ $ getprop persist.sys.timezone Asia/Calcutta shell@ASUS_Z010:/ $ setprop persist.sys.timezone "America/Chicago" shell@ASUS_Z010:/ $ getprop persist.sys.timezone Asia/Calcutta shell@ASUS_Z010:/ $有人可以给我一些有关如何实现这一点的想法,并且在没有给出任何错误的情况下命令失败的原因是什么?
Can someone give me some idea about how to achieve this, and what might be the reason of the command failing, without giving any error ?
推荐答案我刚刚知道它只能在有根电话上完成。
I just came to know that it can only be done on rooted phones.
groups.google/forum/#!topic/android-developers/UBXrvJnxyd4
交叉验证已扎根电话。对我来说,一个坏消息是我无法使用需要使用脚本更改时区的测试设备。
Cross verified it on a rooted phone. Bad news for me is that I can't root my testing devices on which I need to change timezones using my script.
更多推荐
无法使用adb shell setprop在Android设备上更改时区
发布评论