Android Studio Environment SDK Manager, gradle Unable to update download solution

Source: Internet
Author: User

For well-known reasons, there is a red wall in our network environment, which leads us to have a lot of problems when we configure our environment-we can't connect to Google servers to download some dependent packages.

Android Studio is really disgusting, today is the nth time said, all kinds of configuration after the thought can be happy to write code, but offline work when new project finished Xxxxactivity.xml cannot use graphical interface preview, cannot drag the control. Finally have the network, but found Gradle download has been stuck, if you also met, do not want to be wall!

Gradle Download the workaround:

1. If you have v+p+ n words, directly hung up the agent should be able to download, if not, you can use Zym (self-search for download), open Zym
2.Android Studio under File---Settings---Gradle----Gradle VM Options---Fill in-dhttp.proxyhost=127.0.0.1-dhttp.proxyport= 8580 then OK should now be able to download the

How the SDK Manager downloads the solution:

1. Open Zym

2. Open SDK Manager--Tools-->options--fill in the corresponding location

Check here--

Turn it off and on again, and you can download it! It's not too fast, but it's basically something you can download.

Android Studio Environment SDK Manager, gradle Unable to update download solution

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.