.sudo apt-get install curl

2.curl HTTP://git-repo.googlecode.com/files/repo-1.12 > ~/bin/repo

 

3.chmod a+x ~/bin/repo

 

4.修改~/bin/repo檔將第五行

 

REPO_URL='HTTPs://code.google.com/p/git-repo/'

 

改為

 

REPO_URL='HTTP://code.google.com/p/git-repo/'
5. PATH=~/bin:$PATH

 

6.~/bin/repo init -u HTTPs://android.googlesource.com/platform/manifest -b android-4.3_r2.1

 

7.~/bin/repo sync
arrow
arrow
    全站熱搜

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