VMwareWorkstation + Ubuntu10.04 download Android2.2 source code process. 1. Install git and gnupg. Enter $ sudoapt-getinstallgit-coregnupg2. install other tools $ sudoapt-getinstallflexbisongperflibsdl-devlibesd0-devlibwxgtk2.6
Download the source code of Android 10.04 from VMware Workstation + Ubuntu 2.2.
1. Install git and gnupg.
Enter $ sudo apt-get install git-core gnupg
2. install other tools
$ Sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
Terminal output:
......
The following additional software packages will be installed:
Libaa1-dev libaudiofile-dev libavahi-client-dev libavahi-client3 libavahi-common-dev libavahi-common3 libcaca-dev libdbus-1-dev libdirectfb-dev libdirectfb-extra libglib2.0-dev libpulse-libdev sdl1.2-dev libslang2-dev libsysfs dev-dev Connector -0 libwxbase2.6-dev libwxgtk2.6-0 wx2.6-headers
Recommended software packages:
Libglib2.0-doc python-subunit wx-common wx2.6-doc libgnomeprintui2.2-0
The following [new] software packages will be installed:
Curl gperf libaa1-dev runtime-dev libavahi-client-dev libavahi-common-dev libcaca-dev libdbus-1-dev libdirectfb-dev libdirectfb-extra libesd0-dev libglib2.0-dev libpulse-libdev sdl1.2-dev libslang2-dev libsysfs-dev libwxbase2.6-0 libwxbase2.6-dev libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers
The following software packages will be upgraded:
Libavahi-client3 libavahi-common3
Two software packages have been upgraded, 21 new software packages have been installed, and 0 software packages have to be uninstalled. www.linuxidc.com has 124 software packages which are not upgraded. You need to download the 9, 313kB software package. After decompression, 34.3 MB of extra space is consumed.
Do you want to continue? [Y/n] y ......
3. Install the valgrind Tool
$ Sudo apt-get install valgrind
5. Download the repo Tool
$ Mkdir $ HOME/bin // The HOME here is the current user directory. Because I log on to the system as a root user, the HOME here is the root directory.
$ Gedi. bashrc // The. bashrc here is a hidden file, which is in the root directory.
Add export PATH = $ HOME/bin: $ PATH $ source. bashrc to bashrc. The above two steps are to use repo below
$ Curl http://android.git.kernel.org/repo> $ HOME/bin/repo // a repo file appears in the/root/bin directory.
$ Cd $ HOME/bin
$ Chmod + x repo
6. Export the android Project
$ Cd
$ Mkdir Android
$ Cd Android
$ Repo init-u git: // android.git.kernel.org/platform/manifest.git
Complete the prompt configuration, so that the directory we created has been linked to the Google android source code library.
7. Start to download the source code $ repo sync // of android platform to download the source code. Because the source code of android is very large, the complete code is now more than 3 GB, so the most sub-folder for Synchronous download. If you want to download kernel: $ repo sync kernel, you can now do other things to allow the computer to automatically download the source code.