9:52:01 UnsupportedMethodException
Unsupported method: AndroidProject.getPluginGeneration().The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
原因是因为sdk版本与buildtools版本不匹配导致,改成一致就好!
后来发现以上还存在一些问题,然后
在博客:http://blog.csdn.net/u012764110/article/details/52885234看到如下方法:
解决方法:关掉instant run