Android Studio出现gradle project sync failed 错误

问题:新建项目时弹出Gradle project sync failed.Basic functionality(e.g.editing,debugging) will not work properly.

解决方法1:打开项目文件夹,找到 gradle\wrapper\gradle-wrapper.properties 文件并用记事本打开

#Mon May 28 20:16:32 CST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

distributionUrl=gradle-3.3-all.zip         <<修改这个地址,用迅雷下载,https://services.gradle.org/distributions/gradle-3.3-all.zip

gradle-3.3-all.zip下载放入C:\Users\user\.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9otfk5gt即可

你可能感兴趣的:(Android)