Android studio Connection failed (dl.google.com)
公司的網,莫名其妙的不能更新了,卻可以下載compile檔案。。。
於是乎FQ,hosts,修改studio.exe.vmoptions檔案 然並卵,都特麼不行 搞了一天還是不行
這種問題或許可以找到辦法 但是如果下次是 Connection failed (xxxx.xxxx.com)該怎麼辦呢,授人以魚不如授人以漁,同樣,學人以魚不如學人以漁,我們要的是下次遇到類似問題的解決能力,而不是一次的解決方案
入正題:
1.別管那個網站開啟失敗,記下來
、
2.百度 站長工具
開啟這個 把失敗的網站輸進去
相應時間越短越好,記下對應ip3.開啟C:\Windows\System32\drivers\etc,開啟hosts檔案,加入一行
203.208.40.142 dl.google.com (可以試試直接複製這句到hosts)
前面ip是剛才記下的,後面地址就是打不開的那個 中間空格
相關推薦
Android studio Connection failed (dl.google.com)
公司的網,莫名其妙的不能更新了,卻可以下載compile檔案。。。 於是乎FQ,hosts,修改studio.exe.vmoptions檔案 然並卵,都特麼不行 搞了一天還是不行 這種問題或許可以找到辦法 但是如果下次是 Connection failed (xxxx.xxxx.c
解決 Android Studio 之Cause: dl.google.com:443 failed to respond
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'luck'. > Could not resolve
Android Studio Error:Failed to resolve: com.android.support:appcompat-v7:25.1.0
今天不知道為什麼匯入eclipse專案後就出現了錯誤,沒匯入之前是正常使用AS的 Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:25.+ 第一、點選Install R
Android studio谷歌的dl.google.com下載問題解決
電腦有翻牆,然而還是下不了這個包,可能翻牆只對瀏覽器有效。 解決辦法如下: 如圖錯誤 解決: 一、給dl.google.com設定代理。步驟如下: 開啟站長工具網站,http://ping.chinaz.com/dl.google.com 找到 ping測試,輸
GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.2/gradle-3
Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.2/gradle-3 2018年07月24日 19:05:05 
Android Studio出現Failed to open zip file問題的解決方法
file clas andro led 新建 com 再次 roi width 新建一個Android項目,出現以上錯誤. 解決辦法: 修改gradle-wrapper.properties中的distributionUrl為: distributionUrl=http
android studio Authentication failed for
unset conf 用戶名 list androi password 輸入 平臺 mina 今天更新項目代碼提示 Authentication failed for 後來一起是把git平臺密碼修改了 忘了修改android studio 密碼所以更新失敗 我在and
關於Android Studio 3.0 報錯 com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
當你使用android外掛for gradle 3.0時,會預設啟用Aapt2。 Android的Gradle 3.0外掛預設啟動Aapt2,目的是為了改進增量資源的處理。aapt2 適配之資源 id 固定 在網上大部分給出的解決方案 都是在工程目錄下開啟gradle.prop
解決Android Studio Conflict with dependency 'com.android.support:support-annotations' 問題
在Android Studio 建立新專案的時候,出現這個報錯: Error:Execution failed for task ':app:preDebugAndroidTestBuild'.> Conflict with dependency 'com.android.support:suppor
ubuntu18.04無法下載 http://dl.google.com/linux/chrome/deb/dists/stable/InRelease 無法連線上 dl.google.com:80
ubuntu更新(sudo apt-get update)時, 出現錯誤: “Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry ‘main/
Android Studio 報 Failed to resolve: support-core-utils 找不到依賴 錯誤解決
Google不支援通過SDK的更新來更新support庫,需要通過maven倉庫來下載支援庫。 解決方法: allprojects { repositories { maven { url 'https://dl.google.com/dl/and
Android Studio Error:Could not find com.android.tools.build:gradle
一、今天更新Android Studio後開啟Project,報如下錯誤: Error: Could not find com.android.tools.build:gradle:2.2.1. Searched in the following
解決連不上dl.google.com和dl-ssl.google.com
開發android遇到的最大問題就是Google被牆了,而我們的sdk又需要通過dl.google.com和dl-ssl.google.com去下載一些東西。 網上總會告訴你去修改hosts檔案,還會貼給你一些ip,如果這些ip能ping通,那還是有作用的,但當你使用的時候
Android Glide Error:Failed to resolve: com.github.bumptech.glide:glide:+ 問題解決
今天在載入Glide包的時候突然給我報了一個Error:Failed to resolve: com.github.bumptech.glide:glide:+ ,我的程式碼是這樣的 // 圖片載
Android Studio裡面Failed to resolve: 包名 解決方式
Android Studio裡面Failed to resolve: 包名 解決方式 就像以下這種問題 Failed to resolve: io.reactivex:rxjava:1.1.2 Fa
android studio編譯錯誤 之 Cause: com/android/builder/profile/Recorder$Property
Cause: com/android/builder/profile/Recorder$Property * 解決方法: 專案根目錄中: com.android.tools.build:gradle
Android Studio Error:Failed to resolve: :third-party-aar-name: Open File
android studio載入不了aar包問題處理 已經把aar包複製到了libs下,但問題如下: buidl.gradle配置: repositories { } dependencies
關於Android Studio的Failed to find Build Tools revision異常問題處理記錄
AS版本號:2.2.1 問題發生經過:open一個project的時候,報了個 Failed to find Build Tools revision 25.0.2(當然可能有的人不是這個版本,可能是
Android Studio Start Failed解決方法
Android Studio Start Failed Internal error. 問題描述: win7 64bit 新安裝Android Studio,安裝到後面報如下錯誤:Android Studio Start
Android *** android studio Error:Failed to resolve:
今天,突然之間AS報錯,說’com.android.support:design:23.1.1’找不到了,這怎麼可能,我一直都用著它啊,我一直在app.gradle中新增引用啊 compile 'com.android.support:design:23.1.1'