Android Gradle 3.0.0 - Unexpected End Of ZLIB Input Stream
Solution 1:
I had the same problem after my studio upgraded from 2.3.3 to 3.0, of course I have upgraded my project gradle plugin version from 2.3.3 to 3.0.
I think the gradle plugin jar file is broken and not readable or any unknow exception happened, so delete it and re-download.
What I propose is to,
- Delete gradle folder in studio installed path (mine is D:\Tool\android-studio\gradle),
- Re-sync your project. The project will re-download its dependencies.
If the problem is not solved, try to delete your gradle user data (mine is C:\Users\tea\.gradle) and then re-sync project.
Solution 2:
It's solved in MAC
- uninstall
gradle
brew uninstallgradle
brew install gradle
cd ~/[users].gradle/
rm -r *
- synchronize android studio
Solution 3:
Pls. see this official tutorial on gradle migration to 3.0.
Had similar issue - the reason was that in manifest was written meta_data
instead of meta-data
. For older gradle it was just warning, for new - fatal error.
Maybe you have something similar.
Solution 4:
I have also been experiencing this error with gradle 4.0.0 and 4.0.1. Unfortunately deleting the Users/<user>/.gradle
folder didn't do the trick. I had to uninstall and re-install android studio along with deleting the Users/<user>/.gradle
folder again
Solution 5:
For me worked to delete everything in:
C:\Users\userName\.gradle
Post a Comment for "Android Gradle 3.0.0 - Unexpected End Of ZLIB Input Stream"