Android源码下载流程挑错(Ubuntu
2010-09-10 01:11:00 来源:WEB开发网main(sys.argv[1:])
File "/home/vanpersie/bin/repo", line 562, in main
_Init(args)
File "/home/vanpersie/bin/repo", line 181, in _Init
_CheckGitVersion()
File "/home/vanpersie/bin/repo", line 210, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
这样的异常是由于整个linux环境的配置问题,解决方法为请安装以下的全部程序:
view plaincopy to clipboardprint?
$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
$
sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf
libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl
libncurses5-dev zlib1g-dev
本人下载源码的过程就是遇到这两个门槛,现公布出来,希望能帮助到遇到相似问题的人。
android emulator webkit adt 等等下载地址
http://code.google.com/p/android/downloads/list?can=1&q=
android系统源码
http://android.git.kernel.org/
更多精彩
赞助商链接