1. Wiki首页
  2. Hikey960 Android开发指南
  3. Prepare
  4. Repo installation

Repo installation

1) Ensure there is a ~/bin directory in your home director:

2) Download repo script:

3) Add executable permissions to repo

4) Include the installation directory of repo in your path:

5) Run repo –help to verify the installatio:

You could see a message similar to the following:

Common commands:

You could also install the repo like the url: https://source.android.com/source/downloading.html.