Android Studio,gradle project sync failed 错误

因某些原因,之前用Android Studio后卸载了,重新装了之后总是报gradle project sync failed.Basic functionality(eg.editing,debugging) will not work properly错,然后也总算是解决了

打开项目中..\gradle\wrapper\gradle-wrapper.properties文件。我的内容如下:

#Wed Dec 13 10:34:34 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip


打开最后一行中链接https://services.gradle.org/distributions/gradle-3.3-all.zip下载gradle-3.3-all.zip文件复制到

C:\Users\Administration\.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9下。重新启动Android Studio。

没有报错。问题解决

你可能感兴趣的:(Android,Studio)