Saturday, 21 July 2018

Gradle version 2.10 is required. Current version is 2.8 Error

Following things are using in the project-

The android studio version - 2.0 Preview 4.
ANDROID_BUILD_MIN_SDK_VERSION=9
ANDROID_BUILD_TARGET_SDK_VERSION=22
ANDROID_BUILD_TOOLS_VERSION=22.0.1
ANDROID_BUILD_SDK_VERSION=22

classpath 'com.android.tools.build:gradle:2.0.0-alpha9'

As per the error I changed the distribution url

https\://services.gradle.org/distributions/gradle-2.8-all.zip

to

https\://services.gradle.org/distributions/gradle-2.10-all.zip

but still getting the following error

Error:(1, 1) A problem occurred evaluating project ':app'. Failed to apply plugin [id 'com.android.application'] Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in /Users/manishpathak/Project/live/code/ICCCricketWorldCup2015Schedule/gradle/wrapper/gradle-wrapper.properties to gradle-2.10-all.zip



from Gradle version 2.10 is required. Current version is 2.8 Error

No comments:

Post a Comment