First make sure you have the Sun JDK and Eclipse installed and then proceed to download the Android SDK. DO NOT get the bundle, go further down the page to 'use an existing ide' and open up the accordian to get to the download link for the SDK-Tools for Linux.
Once downloaded open a terminal and use root
$ sudo su
# cd /usr/local
# tar xvf /home/<user_name>/<android-sdk-file.tgz
This should give you an android-sdk-linux folder in /usr/local.
# chmod 755 android-sdk-linux set permissions
Now open up Eclipse and go to Window > Preferences > Android
Browse to the android-sdk-linux installation path to set it in Eclipse. Click Apply and OK.
Now go to the Help menu and click Install New Software.
In the 'Work with' drop down list enter the following URL
https://dl-ssl.google.com/android/eclipse/ and put 'Android' in the title box.
This is to facilitate the installation of any extra packages which you may require in future. Check the remaining boxes.

Now go to the Help menu and click Install New Software.

https://dl-ssl.google.com/android/eclipse/ and put 'Android' in the title box.


Once the platform tools has been successfully installed then you will need to select one or more platform versions to work with.
If you have added the path as above then just run
$ android
To view the dialogue box, or click on the icon in Eclipse.
Add your desired platform versions to continue.
Add your desired platform versions to continue.
No comments:
Post a Comment