I am trying to follow these instructions:
http://source.android.com/source/downloading.html
I have set up a fresh install of Cygwin and downloaded the following additional packages in an attempt to get this to work:
- curl
- python
- git
The command:
$ repo init -u https://android.googlesource.com/platform/manifest
fails with error
fatal: 'git' is not available
Git is installed and on the path since
$ git --version
returns successfully.
Bottom line: what other packages do I need to install in this Cygwin config to get this to work?
Running rebaseall on the Cygwin install with the above modules installed is the trick to make this all work!
Running rebaseall can be a bit tricky. The only Cygwin program that can be running at the time is the ash shell. So first of all you need to shut down any long running processes like sshd, close all Cygwin prompts and so on. Next you need to start the plain Windows Command Prompt (if you normally run as unprivileged user but install software as Administrator, then you want to start the prompt by right clicking the icon and selecting Run As… and choosing an administrator account). Then type the following commands (assuming default Cygwin installation location):
This should result in several lines of output similar to:
After that you can restart any long running processes, start the normal Cygwin shell and all should be good.
Now when you run
everything works!