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:
* *
Extract to ~/

Download ARM compiler Toolchain:
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
> ~/bin/repo
*$ chmod a+x ~/bin/repo

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

創作者 forteallan 的頭像

Ching's blog

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