How to Install SDK and Eclipse for Android In UBUNTU
Please follow this steps:
go to Terminal and write:
sudo update-alternatives --config java
to install eclipse you should write:
sudo apt-get install eclipse
you can also download and installed it from link blow:
The installation process for Eclipse is a simply case of extracting the downloaded archive into a suitable location, I’ve created a folder called Applications in my /home/samad directory and extracted the archive into it. Double clicking on the eclipse executable file kicked off the IDE which loaded quite quickly after prompting my for a workspace location – I just kept the default.
Then you should download and install SDK from Link blow:
So that’s it, we’re there yes? Well no, not yet. In the Windows world we are used to installations detecting the presence of IDEs or vice-versa and everything just working once the installer finishes. Well Linux is not like that we need to so some additional configuration before we can get coding; in fact Eclipse/Android installation is pretty much the same on all platforms, so it’s not just an Linux thing.
The first thing to do is to install the Android ADT (Android Developer Tool) plugin into Eclipse – which you’ll be happy to hear is a semi-automatic process.
- Start Eclipse and select ‘Install New Software’ from the Help menu.
- Click the ‘Add’ button next to the “Work With” dropdown list
- Enter a suitable name for this resource, e.g. Android Developer Tools, and the following URL into the location: https://dl-ssl.google.com/android/eclipse
- Click Ok
Eclipse will now search for the ADT plugin and all things being equal will display a screen similar to this:
Select the ‘Developer Tools’ checkbox (which
will select the DDMS and Development Tools beneath it) and click next. After agreeing to the Licence Agreement (which of course you read first) click Finish and the installation will proceed.
You may get a security warning at this point because the packages are apparently unsigned but I just clicked OK to carry on. All things being equal you will be prompted to restart Eclipse and the installation process is then complete.
Now you can start your Eclipse. HA HA. You dont know where you can find the exe file?????
ok if you want to create a symbole for eclipse you should:
Go to:
System -> Administration -> Synaptic package manager
wriete eclipse in search box and when you find it you must checkmark this option.
Click on Get Screenshot buttom.
Now we are finish.
You cann find eclipse icon in : Applications -> Programming menu.
Have fun
Samad H.Razavi
references: