Android studio - Failed to complete gradle execution - error in opening zip file

后端 未结 15 2225
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 04:21

I\'m new to android development and android studio IDE.

I\'ve checked-out a project from bitbucket and when I try to compile it I get the following error:

15条回答
  •  醉梦人生
    2020-11-29 04:52

    For me the solution to this error was to change the gradle wrapper version in ../gradle/wraper/gradle-wrapper.properties to a different/newer version.. I used:

    distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip

    Then call:

    ./gradlew --refresh-dependencies

    This tells the wrapper to point to a new version and re-download all required dependencies. I suspect the error for me was caused by an interrupted download when first building the relevant project.

提交回复
热议问题