My notes on Android development
Install Eclipse and the java base (about 256Mb)
Install Java
Ubuntu 10.04 provides Java6 in the form of OpenJDK (openjdk-6-jdk). This is great for developers, but for those who wants to install Sun (Oracle) version of Java6, I will also provide the steps here
A) Install OpenJDK (check if its already installed before doing this!)
Step 1: open a terminal and type the following;
update-alternatives --query java
If you already have OpenJDK, then you do not need to install it anymore. If you do not have any Java JDK listed, then continue to step 2.
Step 2:
sudo apt-get install openjdk-6-jdk openjdk-6-jdk icedtea6-plugin
B) Install Sun (Oracle) Java JDK.
Step 1: Add the repository for Sun Java. Open a terminal and type the following;
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
Step 2: Install the JDK along with the plugin
sudo apt-get install sun-java6-jdk sun-java6-plugin
Step 3: Make it your default
Sun Java is now installed, but you need to make it the default java to use:
sudo update-alternatives --config java
Install Eclipse
Open a terminal and type;
sudo apt-get install eclipse eclipse-pde eclipse-jdt eclipse-plugin-cvs
Install Android plugin for Eclipse
Refer for details at Android.com
Download and add the Eclipse plugin for Android by (update 15 Feb 2010)
wget http://dl.google.com/android/android-sdk_r09-linux_x86.tgz
wget http://dl.google.com/android/ADT_9.0.0.zip
previous post was;
$ wget http://dl.google.com/android/ADT-0.9.7.zip
The tgz is for the android SDK.
Looking at alternative computer software solutions for a variety of reasons. This includes price, computer security, virus prevention and reliability. Here are my notes and great that if it helps you, otherwise please understand what you are doing and not follow blindly. All works expressed are my own and does not necessarily express the products or organisations mentioned here.
1 comment:
This is one of the high lighted post.Your blog has good knowledge which will help us to generate more traffic.Android app developers
Post a Comment