Cyber memos for my personal knowledge.

2010-02-13

Android Git server always fatel error?

WTF..Android repo init -u always return the error:

fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)

Someone said that this may be caused by the DNS resolving issue.
So I did some work on my /etc/hosts as adding a line:

149.20.20.141 android.git.kernel.org

It depends on your network environment and ISP...

OK, now repo tool finally works!! What an idiot script it is!!
...Orz