Before we start downloading and compiling the android source code, there are
some important stuff we need to do first.
1.according to the website, we need to download the jdk6 for Gingerbread and newer. And jdk5 for froyo or older.
The following is how to do this.
add deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
in your /etc/apt/source.list
and sudo apt-get update
sudo apt-get install sun-java5-jdk(for jdk5)
after that the sun java jdk5 is installed.
you can use : update-alternatives --config java
to change which version you want.
2. the rest of the package is just like the website says. follow those steps and you can start download and compile your android.
No comments:
Post a Comment