I need to change the emulator's default time zone. It worked in command line with -timezone option. But when I tried it in eclipse android's launch options. it didn't work. I set it in Window->preferences->android->launch->default emulator options. Am I setting it in a wrong place?
go to
Run > Debug Configurations/Run Configurations
Tab
Target > Additional Emulator Command Line Options
I've confirmed that in Eclipse 3.5.2 that the Window/Preferences/Android/Launch/Default Emulator Options method works.
For myself, being in L.A. I typed in the following for the emulator option...
-timezone "America/Los_Angeles"
I created a new Android project, ran it, and the timezone parameter was already included for me in the new Eclipse Run configuration.
Using this method, you only need to define the parameter once, and not for each individual Android run configuration, as the first answer states you should do.
So, yes, you are doing it in the right place.
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