Solution 1:

This is confirmed fixed with Android Studio 2.2 Preview 4

So you no longer need to revert to plugin version 2.1.0 as the original answer explained.

Original Answer:

This is a problem with the alpha version of the gradle plugin. You can continue using Android Studio 2.2 if you revert the plugin version to 2.1.0, like so:

buildscript {

    ...

    dependencies {
        // other entries here
        classpath 'com.android.tools.build:gradle:2.1.0'
    }

    ...

}

In your root projects build.gradle

Please vote for the issue to be fixed on the official bug tracker entry here