隨筆-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 閱讀(3905) 評論(0)  編輯  收藏 所屬分類: JavaAndroid
          主站蜘蛛池模板: 清丰县| 柞水县| 栾川县| 武邑县| 登封市| 衡山县| 乐东| 西吉县| 射洪县| 依兰县| 潢川县| 昭觉县| 共和县| 寿阳县| 惠安县| 南京市| 凭祥市| 申扎县| 额敏县| 苏尼特右旗| 紫阳县| 六安市| 峨山| 佛冈县| 托克逊县| 安吉县| 射洪县| 禹城市| 四会市| 新沂市| 泰顺县| 渭南市| 武安市| 五台县| 仁寿县| 泰宁县| 周宁县| 陇西县| 大同市| 湘阴县| 乐业县|