Setup steps for Android ADT Bundle on Centos 6.3
1) Go to http://developer.android.com/sdk/index.html . Scroll down to section "DOWNLOAD FOR OTHER PLATFORMS/ADT Bundle".
2) In Centos 6.3, run Terminal Window as Root.
[centos@localhost ~]$ su
Password:
3) If your Centos 6.3 doesn't have Java, install Java first.
[root@localhost centos]# yum install java
4) Download ADT bundle:
[root@localhost centos]# wget http://dl.google.com/android/adt/adt-bundle-linux-x86.zip
[root@localhost centos]# unzip adt-bundle-linux-x86.zip
5) Move the extracted folder to /opt
[root@localhost centos]# mv adt-bundle-linux-x86 /opt
6) The executable eclipse program is ready for execution
[root@localhost centos]# cd /opt/adt-bundle-linux-x86/eclipse
root@localhost centos]# ./eclipse
7) As an alternative to Step 6, we can register the path so that Centos recognize eclipse name called from any location. Follow steps 8-11.
8) Create eclipse executable binary file
[root@localhost centos]# touch /usr/bin/eclipse
9) Set permission to the file
[root@localhost centos]# chmod 755 /usr/bin/eclipse
10) Create the file using VI editor
[root@localhost centos]# vi /usr/bin/eclipse
11) Add entries to the file
export ECLIPSE_HOME="/opt/adt-bundle-linux-x86/eclipse"
$ECLIPSE_HOME/eclipse $*
12) Now you can just type eclipse in the terminal and Centos would know where to find its binary file.
The following is the ADT Splash Screen (a modified Eclipse)
No comments:
Post a Comment