Estou com um problema para baixar o Android pelo Cygwin Terminal no Windows. Eu uso este guia para baixá-lo:
- 1) Download cygwin from http://cygwin.com/install.html.
- 2) Install cygwin with defaults.In cygwin Select defualt page search
for curl and python and check them to be installed.
- 3) Then start cygwin.exe
go to your preferred directory (mine is D:/Android/sources/4.0/try2 )
cd d:
cd Android/sources/4.0/try2
- 4) Run the below instructions one by one
- i) mkdir bin
- ii) PATH=/cygdrive/d/Android/sources/4.0/try2/bin:$PATH
- iii) curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo >
/cygdrive/e/android-s/bin/repo
- iv) mkdir source
- v) cd source
- vi) repo init -u https://android.googlesource.com/platform/manifest
-b android-4.0.1_r1
give credentials
- vii) repo sync
Então, funciona bem até a etapa 4-ii, mas quando tento usar a etapa 4-iii, ocorre este erro:
-bash: curl: command not found
Qual é o problema? Como resolver isso?
Responder1
Você deve instalar o pacote curl para cygwin executando a instalação novamente e selecionando o(s) pacote(s) desejado(s).