导入项目 遇到这个问题,google 好多文章 未能解决 ,后发现简单解决方法 分享给那些和我一样迷茫的人。
操作步骤 1.打开android studio
Windows & Linux:
File -> Settings -> Build, Execution, Deployment -> Instant Run.
Mac:
Android Studio -> Preferences -> Build, Execution, Deployment -> Instant Run.
将
Enable Instant Run to hot swap code...选项 取消掉
从新 启动as。build 解决。
原文链接http://stackoverflow.com/questions/39591531/unsupported-method-androidproject-getplugingeneration-while-running-project