2
首先,我的旧Android Studio项目是“android本地路径不存在”。错误。 这个问题后,帮助我,但我的项目没有修复。 Android Studio - local path doesn't existAndroid Gradle 1.8下载错误
我按照这个顺序。
1-更改gradle-wrapper.properties这样
#Sun Oct 06 12:17:11 EEST 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-all.zip
2-的build.gradle这样;
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.6.+'
}
}
3-文件 - >同步 4-文件 - >的Invalidate缓存/重启 5-运行项目。
但是,当运行项目中,我得到这个错误
org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.8-all.zip'.: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.8-all.zip'.
我的项目不能正常工作。
请帮忙。谢谢。