Unsupported method: AndroidProject.getPluginGeneration().
The version of Gradle you connect to does not support that method.
如何解决呢?
Windows & Linux:
File -> Settings -> Build, Execution, Deployment -> Instant Run.
Mac:
Android Studio -> Preferences -> Build, Execution,Deployment -> Instant Run.