As the first time HTTP proxy problem is started

Source: Internet
Author: User

(reproduced please specify the source)

A period of time to change work, the interview was mercilessly ridiculed as out of the more than two years have not yet?

Prior to the company's projects to the same as but not accustomed to the project progress in the early use of the EC. Well, that's an excuse for programmers. So switch to as (the company's computer configuration only 4g 32-bit operating system card is not necessary)

First configuration as is more cumbersome today to write out the time off

Download as Local install successful first start new project error

Error:connection timed Out:connect. If you is behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.

The root cause of the HTTP proxy problem is that as the first launch will be networked download Gradle this thing is very important, but the domestic only VPN over the wall download has several solutions

First domestic download Gradle i downloaded the gradle-2.8-all.zip to extract the file F:\lahmMsg\gradle-2.8

Then configure the environment variables

Append the environment variable at the end of the path

CMD named gradle-v after configuration completed to see if successful

And then in the AS

Set the local gradle path to the build.gradle of the project

Dependencies change to current version   OK complete

The second way of solving

Find a Web disk with download Gradle file for Gradle-2.8-all.zip (version see personal needs)

Find as Project

After opening

Modify the bottom path to the path of the net drive

At the same time

Gradle_user_home the meaning of this parameter is the path of the as default configuration GRADLE C:\Users\ user \.gradle

If you do not want to place the C drive, you can configure the environment variable variable name

  the Gradle_user_home variable value is set to the path you want to save,  but the suffix must be. GRADLE
I hope it helps.

As the first time HTTP proxy problem is started

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.