0

I am trying to install the ADK: http://developer.android.com/tools/adk/adk2.html#audio-dock. There I have to install repo: http://source.android.com/source/downloading.html#installing-repo I do not understand the first step. Where do I have to enter this Code? Do I have to create a Folder called bin? Where can I download the repo tool?

Please help me
Fabian

1 Answers1

0

As Jonathan.Brink has pointed, it depends on the OS you are using. But frankly independent from the OS it consist of the following 4 parts.

  1. Yes, you have to first create a bin folder in your home directory. You could use either a File Manager or terminal. Google prefer terminal.

    mkdir ~/bin
    
  2. Secondly you should put the bin directory in your PATH.

    PATH=~/bin:$PATH
    

This is like saying "In this directory I have put some special code. Treat it as an application"

  1. Then you have to download the actual repo application. You could either use curl command as google suggest

    curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    

or this url. If you download the file on your own, you should put it in the bin directory you have created.

  1. The file is a python script. So you have to give it permission to execute. To do so you have to use the terminal again:

    chmod a+x ~/bin/repo
    

If you have any questions, I'll be happy to answer them :)

P.S.: If you are using Windows, you could use following discussed a post already

Community
  • 1
  • 1
harry
  • 268
  • 2
  • 19
  • You could use [this link](http://stackoverflow.com/a/18652851/2935386) as a guide to installing repo on Windows – harry Jan 06 '16 at 11:30