2010年10月4日 星期一

Android Porting: Make Platform

1. Setup VMware Player
2. Install ubuntu for Linux
3. Add Packages for Getting and Building Source Code
  $sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zliblg-dev
  Issue 1: Add JAVA 5/6 package
  Issue 2. Add repo
    <Step 1>curl http://android.git.kernel.org/repo >~/bin/repo
    <Step 2>chmod a+x ~/bin/repo
    <Step 3> export PATH=~/bin/repo:$PATH
3. Get Android Code Bases
  3.1 Get Android platform source code
  <Step 1> repo init –u git://android.git.kernel.org/platform/manifest.git –b android-2.2_r1
  <Step 2> repo sync


4. Build
   $make

   Issue 1: Build Android 2.2 froyo only in 64bit environment.
   Issue 2:  Build Android 2.2 froyo only by JDK6


[] Android Platform Development Kit: http://www.kandroid.org/android_pdk/index.html
  *Device Requirements:  http://www.kandroid.org/android_pdk/system_requirements.html

沒有留言:

張貼留言