JDK setup for building android source code

Many time I face problem while setting build environment for building android. Specially when i format my machine . After  googling a lot  I find that now Sun-java-6 has be removed from the ubuntu repository so it is a big problem for us because android code uses sun-java for building

sudo add-apt-repository ppa:ferramroberto/java

sudo apt-get update

sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk

update-alternatives –config javac

python 2.6.5

$ sudo add-apt-repository “deb http://ppa.launchpad.net/bzr/ppa/ubuntu lucid main”
$ sudo add-apt-repository “deb-src http://ppa.launchpad.net/bzr/ppa/ubuntu lucid main”
$ sudo apt-get update
$ sudo apt-get install python

Advertisements
This entry was posted in android, Java. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s