Studio更新事儿多,遇见过几次了,索性将解决方法记录下来
找到项目下的gradle-wrapper.properties文件:
D:\android\project\TestNewVerApp\gradle\wrapper\gradle-wrapper.properties
你发现如下代码:
distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip
将上边的distributionUrl的https修改为http,sync,完事儿
Studio报错:Re-download dependencies and sync project (requires network)
最新推荐文章于 2024-08-06 13:22:33 发布