0

有人可以提出解决方案吗?

我正在运行 Ubuntu 12.0.4

我有 :

 Python 2.6 -- 2.7, which you can download from python.org.

    GNU Make 3.81 -- 3.82, which you can download from gnu.org,

    JDK 6 if you wish to build Gingerbread or newer; JDK 5 for Froyo or older. You can download both from java.sun.com.

    Git 1.7 or newer. You can find it at git-scm.com.

并运行:

$ sudo apt-get install git gnupg flex bison gperf build-essential \
  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

我已经设置了我的回购:

确保你的主目录中有一个 bin/ 目录,并且它包含在你的路径中:

$ mkdir ~/bin $ PATH=~/bin:$PATH

下载 Repo 工具并确保它是可执行的:

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo

然后当我运行时:

$ repo init -u https://android.googlesource.com/platform/manifest

我收到以下错误

fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: https

有没有人有任何建议这可能导致这个???

谢谢 !!!!

4

4 回答 4

3

基本上我再次重新安装了 Python,一切正常。 http://www.python.org/download/releases/2.7.5/

于 2013-08-19T16:04:59.430 回答
0

错误的网址...

repo init -u https://android.googlesource.com/platform/manifest

我遇到了同样的错误。开始编辑和更改内容,因为我认为我错了。该网址一定不能正常工作,但这肯定有效:)

于 2015-03-16T18:57:46.880 回答
0

在我的情况下(Fedora 22,Python 2.7.x),python 是在没有 openssl 支持的情况下编译的。我安装了openssl-devel包并使用pyenv从源代码编译了 python 。现在 repo 可以处理 https。

于 2015-10-19T08:09:22.893 回答
0

我正在运行修复致命错误的 Ubuntu 14.04.3

sudo apt-get install phablet-tools
于 2015-09-10T01:51:45.613 回答