July 13, 2012

JellyBean(4.1)のソースコードを取得する

JellyBean(4.1)のソースコードがリリースされましたので、取得方法です。

$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r1
$ repo sync


今回はMacのターミナル上で実行しましたが、取得するにはrepoコマンドが必要です。
ホームフォルダにbinフォルダを作成して、そこにrepoコマンドをインストールしました。

$ mkdir bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

これでインストール完了です。

No comments:

Post a Comment