在ubuntu10.04下用repo下载android源码,出现如下错误:


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

fatal: Unable to find remote helper for 'https'


对于这个错误,是由于curl安装的不对,利用sudo apt-get install curl安装的不行,估计是版本是太低了,自己重新下载一个比较新的版本。同时要安装expat-2.1.0和openSSL文件

以上依赖的文件安装好后,再重新安装git。


安装好git后,确保安装目录git-core下有如下文件:

git-remote-http

git-remote-https

git-remote-ftp

git-remote-ftps


这样,上述问题就可以解决了






更多相关文章

  1. 一款常用的 Squid 日志分析工具
  2. GitHub 标星 8K+!一款开源替代 ls 的工具你值得拥有!
  3. RHEL 6 下 DHCP+TFTP+FTP+PXE+Kickstart 实现无人值守安装
  4. Linux 环境下实战 Rsync 备份工具及配置 rsync+inotify 实时同步
  5. android启动中遇到的2个问题
  6. Android(安卓)检查更新、下载、安装功能的实现
  7. android文件的写入与读取---简单的文本读写context.openFileInpu
  8. android--使用NDK-build生成so
  9. Android换肤Demo

随机推荐

  1. android中ListView滑动变黑的情况
  2. Excessive JNI global references - Andr
  3. Android IPC 机制【1】--简介
  4. Android Studio第三十九期 - popWindows
  5. 【自定义控件】 ------- GridView
  6. android 修改主题背景色
  7. android日历实现
  8. android wiki
  9. android SDK安装后设置环境变量
  10. 类加载器