Posts

Showing posts from June, 2012

Setup Google account in Android Emulator

As of today with Emulator with Android 4.1, google accounts are not available in the emulator. An alternative is to set it as a Mobile Exchange Account (!)

Go to the Add Exchange Account pageEnter your google email and passwordIn the next page, retrieving account will fail. Replace the "Domain\Username" field with your email again and replace the "Server" field with the address: "m.google.com"

Recovering corrupted eclipse workspace

It has happened to me sometimes when Eclipse has crashed or if I had to kill it after it becomes unresponsive that the workspace was corrupted and that I was unable to launch the same workspace. Too lazy to create a new workspace and import all my projects again, one trick that did work was to go into the workspace folder and remove the following file:

<my_workspace_name>/.metadata/.plugins/org.eclipse.core.resources/.snap

I was than able to start eclipse again and find all my projects in it.