Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator timezone WARNING on startup

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.

like image 353
The questioner Avatar asked Dec 16 '17 14:12

The questioner


People also ask

How do I fix the emulator process for AVD has terminated?

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.

How do I turn off Android Emulator?

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.

How do I run an emulator from command prompt?

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 ]} … ]


1 Answers

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.

like image 163
Vamsi Avatar answered Oct 17 '22 03:10

Vamsi