Может быть, у вас есть что-то подобное.
обновления андроид студии до 3.0 и перехода наgradle plugin 3.0.0
Я получаю эту ошибку:
Gradle '...' project refresh failed
Error:Unexpected end of ZLIB input stream
Проблемы появляются как во всех моих старых проектах, так и в новых. Любая идея о том, что вызывает это? Gradle 2.3.3 работает нормально
мой проектbuild.gradle
:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Иgradle-wrapper.properties
:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
Любая помощь будет оценена!