Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Friday, January 25, 2013

Android SDK and Eclipse on Centos 6.3





1) Refer main download site for Android Software Development Kit (SDK):
http://developer.android.com/sdk/index.html

2) Copy the download link.
android-sdk_r21.0.1-linux.tgz




3) Run Centos Terminal. Switch to root user.


4) Download the zipped SDK
wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz

The file will be downloaded to /home/centos directory.

5) Unzip the zipped SDK
tar -xvzf android-sdk_r21.0.1-linux.tgz 


 6) Move SDK file
mv android-sdk-linux /opt/android-sdk-linux


7) Change Directory Access Mode
chmod -R a+w /opt/android-sdk-linux

8) Edit Bash Profile
vi $HOME/.bash_profile

9) Add the following code before the last line.
PATH=$PATH:/opt/android-sdk-linux/tools:/opt/android-sdk-linux/platform-tools


10) Run Eclipse.

11) Go to Help/Install New Software.
Type "https://dl-ssl.google.com/android/eclipse/" at text box labeled "Work with"
Click Add.
Click Select All.
Click Next.




11) Review items to be installed. Click Next.


12) At the time of this writing, there is probably a bug that halts installation.




The Details section says:
Cannot complete the install because one or more required items could not be found.

  Software being installed: Android Development Tools 21.0.1.v201212060256-543035 (com.android.ide.eclipse.adt.feature.group 21.0.1.v201212060256-543035)

  Missing requirement: Android Development Tools 21.0.1.v201212060256-543035 (com.android.ide.eclipse.adt.feature.group 21.0.1.v201212060256-543035) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
Read more here, http://stackoverflow.com/questions/14465960/unable-to-install-adt-in-win7-64-bit .


13) Alternatively, you may try installing a complete ADT. Follow this, http://setup-steps.blogspot.com/2013/01/android-adt-bundle-on-centos-63.html .








No comments:

Post a Comment