平台: Ubutnu
Android: 2.1
1.用apt-get安裝下列套件
•git-core
•sun-java5-jdk
•bison
•flex
•gperf
•libsd1-dev
•libsd0-dev
•build-essential
•libncurses5-dev
•zlib1g-dev
•curl
•libx11-dev
2.建立資料夾
# mkdir ~/bin(名稱隨意)
3.安裝repo
# Curl http://android.git.kernel.org/repo > ~/bin/repo
4.指定eclair
# ~/bin/repo init –u git://android.git.kernel.org/platform –b
eclair
Android 1.5 (Cupcake): Kernel 2.6.27
Android 1.6 (Donut): Kernel 2.6.29
Android 2.0/2.1 (Eclair): Kernel 2.6.29
Android 2.2 (Froyo): Kernel 2.6.32
5.更新(1.5hr~2hr)
# repo sync
6.編譯(1.5hr~2hr:雙核)
# make -j 2
7.模擬器上執行畫面
沒有留言:
張貼留言