Cygwin端末経由でAndroidをダウンロードする

Cygwin端末経由でAndroidをダウンロードする

WindowsのCygwin端末からAndroidをダウンロードするのに問題があります。このガイドを使ってダウンロードしました。

 - 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

したがって、手順4-iiの前には正常に機能しますが、手順4-iiiを使用しようとすると、次のエラーが発生します。

-bash: curl: command not found

問題は何ですか?どうやって解決しますか?

ベストアンサー1

インストールを再実行し、必要なパッケージを選択してcygwin用のカールパッケージをインストールする必要があります。

おすすめ記事