Reason: After the computer is configured with a proxy, the proxy is not used when downloading, so the things in 'https://dl.google.com' cannot be downloaded
solution:
Run command in terminal:
cd .gradle
open .
Open gradle.properties
Modify the code in the ~/.gradle/.gradle.properties file to:
# systemProp.https.proxyPort=1080
systemProp.http.proxyHost=127.0.0.1
# systemProp.https.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080
can successfully solve the problem