I updated my android studio to 2.2.Now when I open and run previous project I got error UnsupportedMethodException.
Unsupported method: AndroidProject.getPluginG
You are trying to import a gradle project built with a version not suppoted in your ide(Android Studio), try to rebuild your project with a compatible version from the command line first:
gradle wrapper --gradle-version 3.0
(3.0 is just an example, try to find out what version needs your IDE).
After this step the import process should be ok