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

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

    You just have to edit build.gradle file.

    you should set the classpath to the latest gradle version

      dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'
    }
    

    and Sync the project. All errors will be gone. What you can do is, make new project in android studio, which will have classpath of latest gradle and paste it into your project that having Cause: error in opening zip file. this error.

提交回复
热议问题