Android Studio boot after card in refreshing Gradle project (package fix)

Source: Internet
Author: User

This problem almost every student who just use Android studio will come across, there are various methods on the Internet, some say that using local gradle, I have tried many times, every time I start Android Studio will still check the update, so the fundamental solution is to prevent it from updating.

In fact, the truth is very simple, find the project automatically update the address of the request, the address to replace the good, but this simple thing still need a lot of action to complete.

The first step, to download Gradle, address: Click Download gradle, download do not have to unzip;

The second step in Android Studio is to find the project to be modified, project name->gradle->wrapper->gradle-wrapper.properties, you will see:

The last line is the culprit, because this address is sometimes inaccessible, resulting in a stuck, we will replace this address can be accessed address, can completely solve the problem;

The third step, after the second step, the problem again, this can access the address how to set it, someone said to download a good gradle to the network disk, but I did so, found that there is no download, I do not know whether it is only I have encountered this problem, if you also met, then use my method, is to build a local server, and then put the downloaded gradle on the server;

Fourth step, here by the way how to build a local server, the method is very simple, control panel----open or close the Windows feature->internet information services, such as, all options are checked

Wait a few minutes after completion, in the browser input http://localhost/, a welcome page is set to succeed, if not appear on multiple requests to visit several times;

Fifth step, then find the site, usually under the system directory, I here is C:\inetpub\wwwroot, and then put the download good gradle into this folder, and then finally have a hundred available address;

The sixth step, go back to the second step of the configuration file, the last line address is replaced by: Http://localhost/gradle-2.10-all.zip, save, restart, finished!

Of course, there may be another error after the end, that is, the local Gradle version and the target version of the inconsistency, this is simple, to the official website download and the same version of the target version.

Don't bother upstairs, just use local files

View Comments
12 floor Programming teenager 2017-05-23 23:47 [Reply]
Directly
Copy the first step to download the address on the site, there is no need to build a server
11 Floor Programming teenager 2017-05-23 23:45 [Reply]
Lou
Zhu is also smart and clever wrong, directly copy the first step ' download Gradle ' website not on the line, why to build their own server, simply superfluous
10 Floor fight412017-04-28 10:50 published [Reply]
With
The network disk is possible, with the download chain, share the chain must not, measured success, thank the landlord
9 Floor taoz272017-04-20 00:37 published [Reply]
Thanks
for thanking
8 floor cover GA 2017-03-10 23:58 published [Reply]
open localhost appears with HTTP Error 503. The service is unavailable.
Re: Book cover GA 2017-03-11 00:02 published [Reply]
Reply wxzno123: The local file can now be used directly
such as Distributionurl=file:///c:/users/johndoe/downloads/gradle-2.1-all.zip
7 Floor Geekqian2017-03-03 11:10 published [Reply]
Yes
, you
are.
6 floor Qqduzh2017-01-07 22:24 published [Reply]
Instead
of building a service for a file, you can use the
Re: to Turbid to fool 2017-01-11 09:16 published [Reply]
Reply
Qqduzh: Do not know now can no, I tried a year ago is not possible, otherwise why so toss
Re: daixian17682017-02-24 09:26 [Reply]
reply u011421608: I want to ask what should be done under the Ubuntu environment?
Re: to Turbid to fool 2017-02-27 09:46 published [Reply]
Reply
Daixian1768:ubuntu This method should be able to build a local server, but now generally directly connected to the VPN is done no need to be so troublesome
5 floor , awesome bird. 2016-12-20 09:31 published [Reply]
First Floor said the right, thank Bo Master!!!
4 floor Woshishuaibi2016-11-04 10:16 published [Reply]
solved, worship landlord!
3 floor wangyunzan1232016-10-09 11:58 published [Reply]
Thank you very much!!!
2 Floor Wheat Field _ Watch 2016-09-13 15:22 published [Reply]
Likes
1 floor Iloveflyatsky2016-06-30 10:20 [Reply] [citation] [report]
Slash
http\://should be added

Android Studio boot after card in refreshing Gradle project (package fix)

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.