AndroidStudio proxy settings to solve problems

problem

  In a recent practice time with AndroidStudio, she discovered an error when a blank project created were build, I had nothing to change all wrong, wanted to run a HelloWorld are so strenuous it?

  Question displayed in the log window over there, find the cause of major problems found through the Internet lies in the following:

File //dl.google.com/dl/android/maven2/com / ...: Unable to Download from https

Solutions are as follows

  The problem lies in dl.google.com blocked domestic qiang, so I made reference to all kinds of blog, found not work, I may have set the wrong, anyway, Download failure, how to set useless.

  In combination with several blog method, finally resolved, the method may not be applicable for all purposes, I hope you can configure, here I can be successful Build.

There are four places needs to be set with reference to the following figure:


In gradle.properties file modification:

Guess you like

Origin www.cnblogs.com/huxiaozhouzhou/p/11304566.html