Android ソースDL&ビルド環境

まとめ

Mac用の環境について、
Androidの公式のサイトがとても整理されててわかりやすい

ぼくの環境だけ??

http://source.android.com/source/initializing.htmlにて、

# hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 40g ~/android.dmg

をすると

This will create a .dmg (or possibly a .dmg.sparsefile) file

だ、とあるが、

ぼくの環境で出来たのは、.dmg.sparsefileではなく.dmg.sparseimageってファイルだった、、、

それに伴い、~/.bash_profileに追加した、mount用関数を

# mount the android file image
function mountAndroid { hdiutil attach ~/android.dmg.sparseimage -mountpoint /Volumes/android; }

とした