brew install 下载 失败

例:安装apktool

brew install apktool -v

/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.3\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk
==> Downloading https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.3\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.3\)\ curl/7.64.1 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --continue-at 0 --output /Users/yuan/Library/Caches/Homebrew/downloads/9e97eda5f0f966eaed18404623c0f08b106f42d16cd62f229be050c385a3b3f8--robodemo-sample-1.0.1.apk.incomplete https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   444  100   444    0     0    451      0 --:--:-- --:--:-- --:--:--   450
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.s3.amazonaws.com:443
Error: Failed to download resource "apktool--sample.apk"
Download failed: https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk

1.获取下载链接:
https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk
2.获取本地下载目录:
/Users/yuan/Library/Caches/Homebrew/downloads/9e97eda5f0f966eaed18404623c0f08b106f42d16cd62f229be050c385a3b3f8--robodemo-sample-1.0.1.apk.incomplete
3.手动下载后放入该目录去掉.incomplete后缀重新安装brew install apktool -v

猜你喜欢

转载自blog.csdn.net/m0_46728513/article/details/115909494