Having a fight with IntelliJ at the moment. The darn thing won\'t download Gradle 2.1
I have an Android project hosted on GitHub, which I have cloned to my laptop.
When I updated to Android Studio 1.0 I found that I need to update to use 1.0.0 version of gradle.
Inside of the build.gradle file I had
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0-rc2'
I changed it to remove the "-rc2"
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
I've fixed this issue by adding the following to me build.gradle:
repositories{
maven {
url 'http://repo1.maven.org/maven2';
}
}
Once done, try syncing and rebuilding your project. Hope this was helpful.
I've fixed this issue by adding the following to my build.gradle:
repositories {
maven {
url 'http://repo1.maven.org/maven2';
}
}
Once done, try syncing and rebuilding your project. Hope this was helpful.