zoukankan      html  css  js  c++  java
  • .Net 转战 Android 4.4 日常笔记(10)--ADT集成环境更新SDK

    今天下载了一份原来来参考,却发现SDK版本偏低我没有安装

    用SDK Manager却一直更新不了出现

    Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused
    Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused
    Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: hostname in certificate didn't match: <dl-ssl.google.com> != <www.google.com>

    蛮多方法可以试用,最实际的就是修改host文件

    C:WINDOWSsystem32driversetc 下的host,在最后加入这样一句就可以更新了

    #Google主页
    203.208.46.146 www.google.com
    #这行是为了方便打开Android开发官网 现在好像不VPN也可以打开
    74.125.113.121 developer.android.com
    #更新的内容从以下地址下载
    203.208.46.146 dl.google.com
    203.208.46.146 dl-ssl.google.com

  • 相关阅读:
    2019-2020-1 20175315 20175322 20175334 实验五 通讯协议设计
    bfs思路总结
    蓝桥杯-带分数
    Passive WiFi Tracking
    openWRT刷机设置
    研究生若干事
    Dijkstra算法和Floyed算法
    最小生成树prim算法
    无穷大量0x3f3f3f3f
    杭电OJ题目分类
  • 原文地址:https://www.cnblogs.com/ymnets/p/3777465.html
Copyright © 2011-2022 走看看