隨筆-348  評論-598  文章-0  trackbacks-0
          1、安裝repo
          To install, initialize, and configure Repo, follow these steps:

          1. Make sure you have a ~/bin directory in your home directory, and check to be sure that this bin directory is in your path:?  $ cd ~?  $ mkdir bin?  $ echo $PATH
          2. Download the repo script and make sure it is executable:?$ curl http://android.git.kernel.org/repo >~/bin/repo$ chmod a+x ~/bin/repo

          如果repo不在PATH中,則需要進行添加,可以使用
          export PATH=$PATH:your_path
          命令。當然如果不添加,在運行repo的時候就要加入完整路徑

          2、安裝git-core
          可以下載Macport,然后使用sudo port selfupdate更新下

          3、下載源代碼
          To clone one of these trees, install git, and run:
          git clone git://android.git.kernel.org/ + project path.

          To clone the entire platform, install repo, and run:
          mkdir mydroid
          cd mydroid
          repo init -u git://android.git.kernel.org/platform/manifest.git
          repo sync

          可以使用repo的方式下載完整源代碼




          ---------------------------------------------------------
          專注移動開發

          Android, Windows Mobile, iPhone, J2ME, BlackBerry, Symbian
          posted on 2010-03-11 22:04 TiGERTiAN 閱讀(3911) 評論(0)  編輯  收藏 所屬分類: Java 、Android
          主站蜘蛛池模板: 浮梁县| 淮滨县| 天台县| 临海市| 北票市| 洪雅县| 西乡县| 江安县| 乌拉特前旗| 兰考县| 巴彦淖尔市| 寿宁县| 外汇| 长宁县| 同德县| 化州市| 东阳市| 墨玉县| 清丰县| 沿河| 洛阳市| 楚雄市| 西藏| 合阳县| 绥芬河市| 灵山县| 南皮县| 洮南市| 赣州市| 马关县| 博湖县| 威远县| 镇康县| 随州市| 新安县| 广宗县| 水富县| 南漳县| 陵水| 久治县| 平江县|