AS的gradle报错的解决方法

错误:Failed to sync Gradle project "TestApp"

           Failed to open zip File.

          Gradle's dependency cache may be corrupt(this sometimes occurs after a network connection  timeout)

   Error: Re-Download dependencies and sync project(requires network)

              Re-Download dependencies and sync project(requires network)

这个错误是因为gradle版本不一致的错误,解决方法如下  (图片看不到只能步骤写上了)

file-->setting-->Gradle->user local gradle distribution   选择本地的gradle路径即可 我的是:D:\DownLoad\AS\as\gradle\gradle-2.14.1



你可能感兴趣的:(AS的gradle报错的解决方法)