If you get this error with Eclipse on ubuntu, this is how you solve it. This is because of faulty default apt-get repository for Eclipse. You will most likely get this error when you are trying to install the ADT for Android development.
There add the following source
My current Eclipse install is indigo - which you can find from the splashscreen. To make sure that the URL exists , just open the url you think you should be using in Firefox and it should not give a 404 error.
Now you should be good to go. Go to the 'Install Software..' and try installing the ADT plug-in again - it should work now.
/Rant
Linux is supposed to be a dev friendly environment, but the amount of time I spend getting things to work after every new upgrade to the system is insane. No wonders Linux is still not capturing the market ( apart from being a lousy platform for games).
Help -> Install New Software ...
There add the following source
http://download.eclipse.org/releases/indigo/
My current Eclipse install is indigo - which you can find from the splashscreen. To make sure that the URL exists , just open the url you think you should be using in Firefox and it should not give a 404 error.
Now you should be good to go. Go to the 'Install Software..' and try installing the ADT plug-in again - it should work now.
/Rant
Linux is supposed to be a dev friendly environment, but the amount of time I spend getting things to work after every new upgrade to the system is insane. No wonders Linux is still not capturing the market ( apart from being a lousy platform for games).
Thanks for the tip.
ReplyDeleteThe stock Eclipse download for Linux has the same problem - it does not know any sources for software downloads.
For versions of Eclipse other than indigo, get the version number from the splash screen or "help about". If the code name is not provided, use the translation table at http://en.wikipedia.org/wiki/Eclipse_%28software%29
and then substitute it for "indigo" in the URL given in the original post.