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

后端 未结 15 2221
伪装坚强ぢ
伪装坚强ぢ 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:49

    I fixed this issue by...

    • Going to Settings... > Gradle
    • Selecting "Use local Gradle distribution."
    • Pointed it to my Gradle zip file: home/kersting/.gradle/wrapper/dists/gradle-1.12-all/6vpvhqu0efs1fqmqr2decq1v12/gradle-1.12

    It should be something similar for you if you downloaded Gradle which you should have when you downloaded Android Studio. Be careful, the .gradle file may be hidden. I found it through the terminal, but "ls" didn't reveal it.

提交回复
热议问题