Android Studio upgrade prompt Connection failed. Please check your network..., androidfailed

Source: Internet
Author: User

Android Studio upgrade prompt Connection failed. Please check your network..., androidfailed

Android Studio upgrade


Android Studio has a stable version. When you click Check update, Connection failed. Please check your network... is always displayed.





Later, I read a similar article on the Internet. Here I will summarize the failure prompt "Connection failed. Please check your network..." to help you solve the problem.

I found that the solution to this problem on the internet is similar. This article describes how to solve the problem in the windows system, as follows:


In the Android Studio installation directory" /Bin/studio.exe. vmoptions"File to append the following lines:
-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/

Note that the 64-bit system should modify the"/Bin/studio64.exe. vmoptionsThis file is modified according to the number of digits in the system.




Note: If the update still fails, you can change http to https here. Restart and click Check.


If the update is not available, you can try the following operations after debugging:

1. click Configuration



Ii. Settings



3. Change different update channels. There are four channels. Click Check Now. (Check Now multiple times after selecting a channel)




OK! Click Update and Restart.

  




Note:Some file conflicts are prompted here. allow.


Reprinted to indicate the source.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.