1) Refer main download site for Android Software Development Kit (SDK):
http://developer.android.com/sdk/index.html
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.
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
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