【问题标题】:Downloading Android Kernel for iptables为 iptables 下载 Android 内核
【发布时间】:2012-04-12 16:10:03
【问题描述】:

我正在尝试为模拟器下载 android 的内核源代码,以便我可以运行 iptables nat 命令并玩转。

我得到了 android 4.1 的源代码并编译了它们。现在我正在尝试使用以下方法下载内核: git clone git://android.git.kernel.org/kernel/common.git 内核

它返回以下错误:

在 /home/mydir/WORKING_DIRECTORY/kernel/.git/ 中初始化空的 Git 存储库 android.git.kernel.org[0: 149.20.4.77]: errno=连接被拒绝 致命:无法连接套接字(连接被拒绝)

有什么想法吗?

我已经下载了repo脚本来下载android源,所以我尝试添加

在 manifest.xml 下的 .repo 然后我做了:

回购同步

但是,这又导致了与上述相同的错误。

请帮忙

【问题讨论】:

  • 请帮忙。我需要下载安卓内核。除了 git 或 repo -init 没有其他方法吗??

标签: android git repository


【解决方案1】:

下载自:

git 克隆https://android.googlesource.com/kernel/common.git

成功了!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-07-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-03-14
    • 1970-01-01
    • 2012-08-20
    相关资源
    最近更新 更多