2016-01-05 2 views
2

Я пытаюсь загрузить Android источники, как описано здесь: http://source.android.com/source/downloading.html#getting-the-filesСкачать Android источник с Cygwin не работает

[email protected] ~ 
$ cd bin 

[email protected] ~/bin 
$ ls 

[email protected] ~/bin 
$ cd .. 

[email protected] ~ 
$ PATH=~/bin:$PATH 

[email protected] ~ 
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 
    % Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 
100 26223 100 26223 0  0 107k  0 --:--:-- --:--:-- --:--:-- 110k 

[email protected] ~ 
$ chmod a+x ~/bin/repo 

[email protected]utze-pc ~ 
$ mkdir WORKING_DIRECTORY 

[email protected] ~ 
$ cd WORKING_DIRECTORY 

[email protected] ~/WORKING_DIRECTORY 
$ repo init -u https://android.googlesource.com/platform/manifest 
Get https://gerrit.googlesource.com/git-repo/clone.bundle 

[email protected] ~/WORKING_DIRECTORY 
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1 
Get https://gerrit.googlesource.com/git-repo/clone.bundle 

[email protected] ~/WORKING_DIRECTORY 
$ 

, но я не получаю попросил учетные данные, а также синхронизировать репо не будет работать :

[email protected] ~/WORKING_DIRECTORY 
$ repo sync 
error: command 'sync' requires repo to be installed first. 
     Use "repo init" to install it here. 

[email protected] ~/WORKING_DIRECTORY 

и я не получаю никакого сообщения об ошибке

ответ

0

Попробуйте установить Git для Cygwin. Его под категорию «devel» в настройке Cygwin. Единственный способ добавить их - снова запустить настройку.

Смежные вопросы