I have been having trouble using my Android Development Tools ever since I upgraded my Eclipse. Here is what I went through:
First, I tried to uninstall the plugin, and that was quite challenging. I finally found this article that explains how to do it.
- Go to the Help > About Eclipse dialog
- Click the “Installation Details” button
- Click on the plugin in the list on the first tab. (You have to do each Android plugin individually)
- Click the Uninstall button at the bottom of the screen
- Click finish in the next dialog
- Once uninstalled, I clicked “Not Now” to repeat the process without rebooting. After uninstalling all the Android plugins, I clicked the “Restart Now” button.
Next, I opened the Error Log view with Window > Show View > Error Log. I clicked on the Clear Log Viewer so that I could see only the new messages. Then, I installed just the first Android plugin from the Update Site.
When the plugin install opened the restart dialog, I still didn’t see any messages in my Error Log view. So, I just clicked “Restart Now”. Even after the restart, I didn’t see any messages relating to the install. Doesn’t make sense!
So, let’s try the permission thing. I am copying the security over to make the eclipse directory accessible to everyone:
sudo chmod g=u -R /usr/lib/eclipse
sudo chmod o=u -R /usr/lib/eclipse
Note, I found the chmod command option to copy the permissions from a PDF that Google turned up.
After that, it worked! So, I guess it really was a security issue. I can see the DDMS option in the Preferences and the DDMS Perspective can be opened from the Window menu.