android-studio - Android模拟器时区在启动时发出警告

标签 android-studio android-emulator avd macos-high-sierra

在 avd 命令之后,我在终端上挂起了这个警告:
emulator: ### WARNING: /etc/localtime does not point to /usr/share/zoneinfo/, can't determine zoneinfo timezone name
所以,我想知道这是 MacOS(10.13.2)还是 Android Studio(最新版本)问题。

以及如何解决这个问题?

谢谢。

最佳答案

运行下面的命令似乎已经解决了这个警告,注意我的时区是 Africa/Johannesburg ,将其替换为您自己的时区。

sudo ln -sf /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime

基本上/etc/localtime应该链接你的时区。

关于android-studio - Android模拟器时区在启动时发出警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47846878/

相关文章:

Android模拟器状态栏在一段时间后消失

java - 异步任务使我的应用程序崩溃

android - 应用程序无法在设备上运行

java - 如何将图像转换为字节数组以及将字节数组转换回图像

android - 如何创建我可以在笔记本电脑上看到的 800x400 虚拟 Android 设备?

Android avd 模拟器 - 如何在 config.ini 文件中保存 "Do you want to save the current state for the next quick boot?"

android - 我可以使用 Apache Cordova 从 AVD 中选择特定的 Android 设备模拟器吗?

android - Android Studio 中的选项卡式 Activity 模板不适用于 Lollipop

java - 有没有办法在一个媒体播放器对象中播放 mp3 文件?

java - startActivityForResult 强制关闭我的应用程序