title: Android Studio Gradle build failed. Error:Cause: peer not authenticated
body: <p>I have already created one project and gradle sync worked successfully.</p>
  
  <p>When I try to create another project it fails and gives the error message that</p>
  
  <pre><code>Gradle '&lt;ProjectName&gt;' project refresh failed
       Error:Cause: peer not authenticated.
  </code></pre>
  
  <p>I have setup SDK, gradle gave gradle VM options</p>
  
  <pre><code>-Dhttp.proxyHost=&lt;proxy.address&gt; -Dhttp.proxyPort=&lt;port&gt; -Dhttp.proxyUser=&lt;username&gt; -Dhttp.proxyPassword=&lt;password&gt;
  </code></pre>
  
  <p>And in HTTP proxy tab also I have given the correct options.</p>
  
  <p>Can anyone help me?</p>