android studio报错:Connect to maven.google.com:443 [mavåen.google.com/216.58.200.238] failed: connect timed out。解决方案

一、问题描述

  build项目时报错:Connect to maven.google.com:443 [mavåen.google.com/216.58.200.238] failed: connect timed out

二、解决方案

  将build.gradle文件中如下两处改为如下url:

  即将https://maven.google.com改为:https://dl.google.com/dl/android/maven2/

原文地址:https://www.cnblogs.com/lxmtx/p/14198010.html