第一步没找到只与SDK相关的,所以下载了4.1的整个工程。这里给未来需要下载的人说下过程吧:
1.相关的工具按照提示安装即可 sudo apt-get install xxxxxx
2.http://source.android.com/source/downloading.html 中 "Using authentication" 中连接 "the password generator " 让你用gmail邮箱登陆,然后授权git 管理,得到:
machine android.googlesource.com login git-XXXXXXXX
machine android-review.googlesource.com login git-YYYYYYYY
X,Y就是账户、密码。这里有点很重要,没授权一次这里的X,Y都不相同,我是出错多次才弄明白。
3.然后过程就按照官网上的来就是了,那个速度简直是刷刷刷的!第二部来了:
1.编译所需的工具就不说了。还是使用sudo apt-get install xxxxx 安装。
2.但编译sdk时要同时编译出linux和windows两个版本,因为官方文档howto_build_SDC.txt说了:
To build, perform the following steps:$ . build/envsetup.sh
$ lunch sdk-eng
$ make win_sdkNote that this will build both a Linux SDK then a Windows SDK. The result is located at
   out/host/windows/sdk/android-sdk_eng.${USER}_windows/
所以,我这里想问,如何能知编译出Windows版本的SDk 就可以了?