Wrong time in Eclipse. How to change it?

I don't know why, but my Eclipse v 3.5.2 (which I use for Android development) seems to be wrong. Logs in the LogCat window go through in a few days. And even more annoyingly, if I do Calendar.getInstance() , it will return the same wrong date / time.

I am on Windows 7 64bit and my system has the correct time!

Any idea if this is configurable somewhere? Thanks in advance!

+6
source share
1 answer

What you see in logcat is the time on your device / emulator, not the computer time. If you are using an emulator, it most likely has the wrong time.

Just go to the device / emulator settings, like on a real phone, and set the correct time (usually start from the main screen, press the menu key, select Preferences -> Date and Time ). This should solve the problem.

+11
source

Source: https://habr.com/ru/post/902575/


All Articles