Android Studio升級提示 Connection failed. Please check your network ...,androidfailed

來源:互聯網
上載者:User

Android Studio升級提示 Connection failed. Please check your network ...,androidfailed

Android Studio升級


Android Studio出了穩定版,點擊Check更新時,總是出現Connection failed. Please check your network ...無奈的很。





後來在網上查閱了類似的文章,這裡來總結下升級失敗提示 Connection failed. Please check your network ...解決方案,希望可以協助大家.

  關於這個問題,發現網上解決方案都差不多。本文章是在windows系統中的解決方案,如下修改:


  在Android Studio安裝目錄“ /bin/studio.exe.vmoptions”檔案中追加以下幾行:
-Djava.net.preferIPv4Stack=true-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml-Didea.patches.url=http://dl.google.com/android/studio/patches/

要注意,64位系統就應該修改“/bin/studio64.exe.vmoptions”這個檔案,根據具體系統位元修改檔案。




註:若仍更新失敗,此處可將 http更換為https,重啟點擊Check.


若仍然不可更新,經過調試,可以按如下操作試試

一、點擊配置



二、Settings



三、更換不同更新渠道,,有四種渠道,點擊Check Now。(此處可以選擇渠道後多Check Now幾次)




ok!點擊Update and Restart.

  




注:此處提示一些檔案的衝突,允許即可。


轉載註明出處.



聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.