Reputation:
I'm new to Andriod app development. I installed android Intellij, but while creating a project, I'm getting an error saying-
Gradle sync failed: Cause: error in opening zip file
Consult IDE log for more details (Help | Show Log)
I replaced my gradle file with the new file but still facing the same issue.
It's giving me the error that the gradle file can not be zipped.
Upvotes: 1
Views: 324
Reputation:
Tried every possible solution but didn't work. At last, removed Android Studio completely and begin fresh download and installation. It worked.
Upvotes: 0
Reputation: 1554
File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle
Check: Offline work
And then:
File -> Invalidate Caches/Restart -> Invalidate and Restart.
Upvotes: 1