Download presentation
Presentation is loading. Please wait.
Published byMaude Bond Modified over 9 years ago
1
Android x86 Build Environments Update 1.Update System $sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \ libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown libxml2-utils xsltpro 2. Update GNU compiler and libraries $sudo apt-get instal build-dep 3. Install Repo (Before use git to source code must do it!) $su root $PATH=~/bin:$PATH $curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $chmod a+x ~/bin/repo
2
Install Java 1. open http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u31- download-1501634.html and Accept License Agreement with jdk-6u31-linux- i586.binhttp://www.oracle.com/technetwork/java/javase/downloads/jdk-6u31- download-1501634.html 2. Download jdk-6u31-linux-i586.bin to temp folder at Linux and run./jdk- 6u31-linux-i586.bin after download completed to extract with self run $ chmod a+x./jdk-6u31-linux-i586.bin $./jdk-6u31-linux-i586.bin (Extract it to jdk1.6.0_31) 3. Move jdk1.6.0_31 to /usr/lib/jvm/ $su root $ mkdir /usr/lib/jvm $ mv jdk1.6.0_31 /usr/lib/jvm/
3
4. Download update-java-0.5b and run it at GUI terminal $ wget http://webupd8.googlecode.com/files/update-java-0.5b $ chmod +x update-java-0.5b $ sudo./update-java-0.5b Choice /usr/lib/jvm/jdk-1.6.0_31 and press OK
4
Get Source 1.Get source code from git server $mkdir ics-x86-20120415 (Must do Install Repo before to do below ) $cd ics-x86-20120415 $su root $ repo init -u git://android-x86.git.sf.net/gitroot/android- x86/x86/platform/manifest.git -b ics-x86 $ repo sync $cd.. $ mkdir froyo-x86-20120412 (Must do Install Repo before to do below ) $ cd froyo-x86-20120412 $su root $ repo init -u git://android-x86.git.sf.net/gitroot/android- x86/x86/platform/manifest.git -b froyo-x86 $ repo sync
5
Build Source $cd ics-x86-20120415 (Or froyo-x86-20120412) $make clean $source./build/envsetup.sh $lunch eeepc-eng $make –j4 TARGET_PRODUCT=eeepc iso_img ( ISO Image) $make –j4 TARGET_PRODUCT=eeepc usb_img ( USB Disk Image)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.