In build.gradle ,
defaultConfig{
multiDexEnabled true
dependency
configurations
{
compile.exclude group: "org.apache.httpcomponents", module: "httpclient"
}
}
Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts
Tuesday, March 28, 2017
Saturday, April 26, 2014
Android Studio 0.5.1 - Install gradle 1.10
After installing Android Studio 0.5.1, you may get the below message,
The project is using an unsupported version of Gradle. Please use version 1.10
Solution for this:
Modify the gradle-wrapper.properties
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
and your build.gradle
compileSdkVersion 19
buildToolsVersion "19.0.1"
running:./gradlew clean assemble in the terminal
The project is using an unsupported version of Gradle. Please use version 1.10
Solution for this:
Modify the gradle-wrapper.properties
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
and your build.gradle
compileSdkVersion 19
buildToolsVersion "19.0.1"
running:./gradlew clean assemble in the terminal
Subscribe to:
Posts (Atom)