1.在浏览器打开此网址手动下载http://services.gradle.org/distributions/gradle-5.4.1-all.zip
2.解压然后修改settings里的gradle指向
3.保存后try again即可