Skip to content Skip to sidebar Skip to footer

Android Studio Gradle Error Reading Zip-file

I got some problems with my Android Studio (0.8.9). When i want to create a new project, debug it or whatever, there just appears a error message like: Gradle 'Afsddsf' project ref

Solution 1:

I had the same problem, here's how it solved it: (tested on Android Studio under OSX 10.10.5)

Preferences --> Build, Execution, Deployment --> Build Tools --> Gradle

Then check Offline work. This will use your local gradle distribution and will recreate the zip file when you sync Gradle or Run the project. Hope this helps.

Solution 2:

Like VVZen said that, i followed

File --> Settings --> Build, Execution, Deployment --> Build Tools --> Gradle

and i checked 'Offline work' option.

Additional, i followed below steps that;

File --> Invalidate Caches / Restart --> Invalidate and Restart.

After above steps, that problem was resolved for me.

Solution 3:

I think you should delete files inside the .gradle file of the project and restart the studio. as It works for me.

Post a Comment for "Android Studio Gradle Error Reading Zip-file"