title: Every time edit build.gradle file Android studio will frozen
body: <p>I am using Android studio 3.1 Canary 3 with gradle 4.3.1. It's very slow for me to visit maven.org, but when I edit build.gradle file in Android studio, it will send request to <a href="http://search.maven.org/solrsearch/select?q=g:%22com.google.android%22%20AND%20a:%22flexbox%22&amp;core=gav&amp;wt=json" rel="nofollow noreferrer">search.maven.org</a>. As a result I must wait a minute or more for Android studio to response after edit build.gadle file, can anyone known how to fix it, I already try follow suggest:<br>
  1、Install Google Repository and Android support repository,<br>
  2、Set http and https proxy,  </p>
  
  <p>Setting http and https proxy works for me but still it is slow. While installing repository doesn't work at all, as the package is already installed before. So, I think preventing Android studio from sending request to search.maven.org is a good idea. If anyone known how to fix it, please let me known, thanks in advance.</p>