安装repo

mkdir ~/bin

git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/

cp git-repo/repo ~/bin/

然后打开repo文件 替换成

REPO_URL = 'git://aosp.tuna.tsinghua.edu.cn/android/git-repo'

gedit ~/.bashrc打开在最后加入

alias repo="~/bin/repo"

repoinit-uhttps://android.googlesource.com/platform/manifest-bandroid-cts-4.2_r2

repo sync

更多相关文章

  1. Android解析自定义xml文件(方案一)
  2. Android客制化------开机拷贝文件到内置存储
  3. android log日志文件输出
  4. android按行读取文件内容的几个方法
  5. android 文件 修改权限
  6. android 打开不同文件工具类
  7. 使用命令行ls命令的Android文件浏览控件,适合于root过的设备,可以
  8. Android日志服务例子,将日志保存在文件中并每天产生一个日志文件

随机推荐

  1. Android学习笔记_34_自定义窗口标题
  2. Android之View和ViewGroup事件分发
  3. android topic:Resource Types
  4. Android(安卓)7.0软键盘隐藏问题
  5. 布局动画 属性初始 android:animateLayou
  6. Android 根据 Url 跳转应用
  7. Android 3.0 r1 API中文文档(108) ―― E
  8. 更新Android SDK Manager Mac下修改hosts
  9. Android反编译工具:Apktool,支持Linux 、Wi
  10. Android游戏开发系列教程第三讲(事件处理)