获得意外的ZLIB输入流结束

时间:2018-05-13 13:55:08

标签: android-studio

我最近搬到了Windows 10家庭64位笔记本电脑。当我开始一个新项目时,我得到 ZLIB输入流的意外结束。这是Android Studio的全新安装。有没有其他人遇到过这个问题,如果有的话你是怎么解决的?

当我查看日志时,我看到以下内容:

Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
    at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
    at java.util.zip.ZipInputStream.read(ZipInputStream.java:194)
    at java.io.FilterInputStream.read(FilterInputStream.java:107)
    at com.google.common.io.ByteStreams.copy(ByteStreams.java:175)
    at org.gradle.api.internal.changedetection.state.RuntimeClasspathResourceHasher.hash(RuntimeClasspathResourceHasher.java:44)
    at org.gradle.api.internal.changedetection.state.IgnoringResourceHasher.hash(IgnoringResourceHasher.java:60)
    at org.gradle.api.internal.changedetection.state.ClasspathEntrySnapshotBuilder.visitZipFileEntry(ClasspathEntrySnapshotBuilder.java:70)
    at org.gradle.api.internal.changedetection.state.ZipTree.visit(ZipTree.java:48)
    at org.gradle.api.internal.changedetection.state.AbstractClasspathSnapshotBuilder$JarHasher.hashJarContents(AbstractClasspathSnapshotBuilder.java:105)
    ... 102 more

0 个答案:

没有答案