昨天好不容易在 虚拟机vm上把ubuntu 安装完毕,发现自己的本本实在是不堪重负,跑个ubuntu就够慢的了,
如果再要在其上面编译android,那速度可想而知了。不知道该怎么办了。。。。
不过还是把代码下下来了,虚拟机实在太慢,所以用cygwin 进行下载,一切到都挺顺利。
1 安装cygwin,注意选上git,在devel下面
2 安装repo
在cygwin 下 执行
curl http://android.git.kernel.org/repo> /bin/repo
chmod a+x /bin/repo
3 下载代码,按照 android 官方网站 说明 输入命令
repo init -u git://android.git.kernel.org/platform/manifest.git
repo sync
下载下来,不知道能不能在cywin下编译,官网上既然没有说明,而且初步google下,好像cywin 不行。。。
得像个办法解决阿,现在只能先看看make过程和借鉴别人的经验了。。。