# Gradle thinks 2.10 is less than 2.2 when resolving plugins

**URL:** <https://discuss.gradle.org/t/gradle-thinks-2-10-is-less-than-2-2-when-resolving-plugins/13434>\
**Category:** Bugs\
**Tags:** plugins\
**Created:** [December 23, 2015, 2:59pm UTC](https://discuss.gradle.org/t/gradle-thinks-2-10-is-less-than-2-2-when-resolving-plugins/13434 "2015-12-23T14:59:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![brindy](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/brindy/32/3998_2.png) [@brindy](https://discuss.gradle.org/u/brindy)\
**Post date:** [December 23, 2015, 2:59pm UTC](https://discuss.gradle.org/t/gradle-thinks-2-10-is-less-than-2-2-when-resolving-plugins/13434/1 "2015-12-23T14:59:32Z")

</div>

I have an Android Studio project and upgraded the gradle-wrapper to use 2.10.

I now get the following error:

```
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
   > Gradle version 2.2 is required. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in /Users/brindy/Projects/TestApp/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zip

```

Using 2.9 works fine.

Same thing happens if I don’t use the gradle-wrapper: 2.10 gives the above error, 2.9 works fine.

Was previously using 2.7.

Thanks in advance.

---

_[View the full topic](https://discuss.gradle.org/t/gradle-thinks-2-10-is-less-than-2-2-when-resolving-plugins/13434)._
