WEB开发网
开发学院手机开发Android 开发 Android源码下载流程挑错(Ubuntu 阅读

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_CheckGitV

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/

上一页  1 2 

Tags:Android 源码下载 流程

编辑录入:coldstar [复制链接] [打 印]
赞助商链接