So i\'m trying to use Android Studio 2.2 preview-1 in Ubuntu 14.04 LTS.
I\'m using gradle-2.10 and gradle-plugin 2.2.0-alpha1 along
This issue is fixed in Android Studio 2.2 preview 2 (download from this page).
Disabled a couple of Groovy inspections that reported incorrect errors in build.gradle files
From the changelog.