Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.x

1、现象描述:

在Eclipse 打开Android SDK Manager,出现错误:Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to https://dl-ssl.google.com refused,报错如下图



 

 

2、仔细检查我的Win7 64位C:\Windows\System32\drivers\etc\Host的文件已经加入了74.125.237.1      dl-ssl.google.com,但是为何还是报错,解决办法,Android SDK Manager菜单中打开Tools-->Options,做如下配置,再重新运行Android SDK Manager即可



 

切换华为云镜像后为什么有些还是淘宝的镜像PS D:\project-sky-admin-vue-ts2> npm install https://mirrors.huaweicloud.com/repository/npm/element-ui/-/element-ui-2.13.0.tgz --legacy-peer-deps --verbose npm verbose cli D:\桌面\node.exe D:\桌面\node_modules\npm\bin\npm-cli.js npm info using npm@10.9.0 npm info using node@v22.11.0 npm verbose title npm install https://mirrors.huaweicloud.com/repository/npm/element-ui/-/element-ui-2.13.0.tgz npm verbose argv "install" "https://mirrors.huaweicloud.com/repository/npm/element-ui/-/element-ui-2.13.0.tgz" "--legacy-peer-deps" "--loglevel" "verbose" npm verbose logfile logs-max:10 dir:C:\Users\ASUS\AppData\Local\npm-cache\_logs\2025-07-29T03_54_53_483Z- npm verbose logfile C:\Users\ASUS\AppData\Local\npm-cache\_logs\2025-07-29T03_54_53_483Z-debug-0.log npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/element-ui/-/element-ui-2.13.0.tgz 1520ms (cache miss) npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/@types%2fecharts 122ms (cache updated) npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/@types%2fwebpack 270ms (cache updated) npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/area-data 72ms (cache updated) npm http fetch GET https://registry.npm.taobao.org/axios/download/axios-0.19.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faxios%2Fdownload%2Faxios-0.19.0.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/axios/download/axios-0.19.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faxios%2Fdownload%2Faxios-0.19.0.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/axios/download/axios-0.19.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faxios%2Fdownload%2Faxios-0.19.0.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/echarts 586ms (cache updated) npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/element-ui/-/element-ui-2.13.0.tgz 38ms (cache hit) npm http fetch GET https://registry.npm.taobao.org/js-cookie/download/js-cookie-2.2.1.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/js-cookie/download/js-cookie-2.2.1.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/js-cookie/download/js-cookie-2.2.1.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/md5 918ms (cache miss) npm http fetch GET https://registry.npm.taobao.org/moment/download/moment-2.24.0.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/moment/download/moment-2.24.0.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/moment/download/moment-2.24.0.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/normalize.css/download/normalize.css-8.0.1.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/normalize.css/download/normalize.css-8.0.1.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/normalize.css/download/normalize.css-8.0.1.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/nprogress/download/nprogress-0.2.0.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/nprogress/download/nprogress-0.2.0.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/nprogress/download/nprogress-0.2.0.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/path-to-regexp/download/path-to-regexp-3.2.0.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/path-to-regexp/download/path-to-regexp-3.2.0.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/path-to-regexp/download/path-to-regexp-3.2.0.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/register-service-worker/download/register-service-worker-1.6.2.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/register-service-worker/download/register-service-worker-1.6.2.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/register-service-worker/download/register-service-worker-1.6.2.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue/download/vue-2.6.10.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue/download/vue-2.6.10.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue/download/vue-2.6.10.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET 200 https://mirrors.huaweicloud.com/repository/npm/vue-area-linkage 542ms (cache miss) npm http fetch GET https://registry.npm.taobao.org/vue-class-component/download/vue-class-component-7.1.0.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue-class-component/download/vue-class-component-7.1.0.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue-class-component/download/vue-class-component-7.1.0.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue-property-decorator/download/vue-property-decorator-8.3.0.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue-property-decorator/download/vue-property-decorator-8.3.0.tgz attempt 2 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue-property-decorator/download/vue-property-decorator-8.3.0.tgz attempt 3 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue-router/download/vue-router-3.1.3.tgz?cache=0&sync_timestamp=1572571382028&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.1.3.tgz attempt 1 failed with CERT_HAS_EXPIRED npm http fetch GET https://registry.npm.taobao.org/vue-router/download/vue-router-3.1.3.tgz?cache=0&sync_timestamp=1572571382028&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.1.3.tgz attempt 2 failed with CERT_HAS_EXPIRED \
最新发布
07-30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值