cxyxlxdm / repo-manifest

repo sample for android project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. repo 初始化(如何获取 repo 命令,自行 google):
repo init -u https://github.com/liangzhitao/repo-manifest.git -b default
  1. 同步代码:
repo sync -j8
  1. 所有子项目都切到 master 分支:
#repo forall -c 'git checkout master'
repo start --all master
  1. 代码全部 clone 下来后,将 projects 目录导入 Android Studio;
  2. 在根目录下执行 gradle clean install
  3. 打开根目录下的 default.xml,默认所有模块都是放开注释的,需要开发哪个模块,将其他模块注释掉即可。

About

repo sample for android project