How to install android sdk/eclipse Ubuntu 11.10 11.04
HOW TO INSTALL THE ANDROID SDK /ECLIPSE UBUNTU 11.04/11.10
Lets get down to business first things first create two empty documents on your desktop one named sdk.sh and the other named 51-android.rules.
copy the following into sdk.sh
Then copy the following into 51-android.rules
Now open a terminal and type sh sdk.sh it will ask for your password and then do it's thing. Once terminal stops go to your home folder open up android/sdk/tools and click android it'll prompt you choose run and then select android platform-tools check it and click finish.
All done with that open up a new terminal and type adb devices to confirm everything goes well
Eclipse
Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
Click OK
select and install ddms tools
if you get this err
following the above procedure add this repository
and install linux tools
next select window/preferences/android click the button that says sdk location and take show it your sdk folder
Thats it just a heads up you don't need eclipse unless your developing an app
HOW TO INSTALL THE ANDROID SDK /ECLIPSE UBUNTU 11.04/11.10
[YT]http://www.youtube.com/watch?v=a4mgTIOT5YY&feature=plcp&context=C3bcc172UDOEgsToPDskL4Fn0aWpXBsiKE4XdOvmgL[/YT][YT]http://www.youtube.com/watch?v=HCNC34BflOo&feature=plcp&context=C31544f8UDOEgsToPDskLVN7l3hs5GzzGNDzWayHt5[/YT]
Lets get down to business first things first create two empty documents on your desktop one named sdk.sh and the other named 51-android.rules.
copy the following into sdk.sh
Code:
## add necessary repository
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
mkdir -p ~/android
sudo mv 51-android.rules /etc/udev/rules.d
## install java cuz it's needed
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk eclipse
##remove open source stuff
sudo apt-get remove icedtea-netx icedtea-plugin icedtea6-plugin openjdk-6-jre openjdk-6-jre-headless icedtea-6-jre-jamvm icedtea-6-jre-cacao
sudo apt-get install ia32-libs
## download sdk you may choose older versions if you like by changing the 14 to 13 or whatever floats your boat
wget http://dl.google.com/android/android-sdk_r15-linux.tgz
tar -zxvf android-sdk_r15-linux.tgz
mv 'android-sdk-linux' ~/android/sdk
## make temp directory to give it permissions before anything is there
mkdir -p ~/android/sdk/platform-tools
## add the platform-tools and tools to bashrc
echo 'export PATH="~/android/sdk/tools:${PATH}"' >> ~/.bashrc
echo 'export PATH="~/android/sdk/platform-tools:${PATH}"' >> ~/.bashrc
printf ALL DONE WITH THIS
exit
Then copy the following into 51-android.rules
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="618e", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="d00d", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", SYMLINK+="android_adb", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="d00d", SYMLINK+="android_adb", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="091E", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="10A9", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="19D2", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0451", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="e79/*", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="e79", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0e79", MODE="0666"
Now open a terminal and type sh sdk.sh it will ask for your password and then do it's thing. Once terminal stops go to your home folder open up android/sdk/tools and click android it'll prompt you choose run and then select android platform-tools check it and click finish.
All done with that open up a new terminal and type adb devices to confirm everything goes well
Eclipse
Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
Code:
https://dl-ssl.google.com/android/eclipse/
Click OK
select and install ddms tools
if you get this err
Code:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
Missing requirement: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
following the above procedure add this repository
Code:
http://download.eclipse.org/releases/indigo
next select window/preferences/android click the button that says sdk location and take show it your sdk folder
Thats it just a heads up you don't need eclipse unless your developing an app
Last edited: