First to install:
$ sudo
apt-get install git-core gnupg sun-java6-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev minicom

Download Android SDK:
*
http://developer.android.com/sdk/1.5_r2/index.html *
Extract to ~/

Download ARM compiler Toolchain:
http://www.codesourcery.com/sgpp/lite/arm/releases/2008q3
Please select "ARM GNU/Linux"
Extract to ~/

Setting ~/.bashrc:
*export PATH=${PATH}:/home/henry/android-sdk-linux_x861.5_r1/tools:/home/henry/arm-2008q1/bin
*export ANDROID_JAVA_HOME=/usr/lib/jvm/java-6-sun/bin

Install repo:
*$ sudo apt-get install curl
*$ cd ~
*
$ mkdir bin
*
$ echo $PATH
*$ curl http://android.git.kernel.org/repo
> ~/bin/repo
*$ chmod a+x ~/bin/repo

Download source code of cupcake:
*$ cd ~
*$ mkdir myandroid
*$ cd myandroid
*$ ~/bin/./repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
*$ ~/bin/./repo sync
P.S. If "repo sync" can not complete, use "git clone git://android.git.kernel.org/ + project path." to get particular project

創作者介紹
創作者 forteallan 的頭像
forteallan

Ching's blog

forteallan 發表在 痞客邦 留言(0) 人氣()