I have this warning hanging on the terminal after the avd command:
emulator: ### WARNING: /etc/localtime does not point to /usr/share/zoneinfo/, can't determine zoneinfo timezone name
So, I wonder if this is a MacOS(10.13.2) or Android Studio(latest version) problem.
And how to tackle this?
Thanks.
1. Create any Emulator configuration in Device Manager, start it, won't start and terminates immediately. 2. Uninstall Android Emulator tools from SDK Manager, re-install the same tools, create emulator configuration, start the same, won't start and terminates immediately.
Run and stop an emulator, and clear data To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data. Or click Menu and select Wipe Data.
Starting the emulator Use the emulator command to start the emulator, as an alternative to running your project or starting it through the AVD Manager. Here's the basic command-line syntax for starting a virtual device from a terminal prompt: emulator -avd avd_name [ {- option [ value ]} … ]
Running command below seems to have resolved that warning, note that my timezone is Africa/Johannesburg
, replace it with your own timezone.
sudo ln -sf /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
Basically /etc/localtime
should be linked your timezone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With