Android Studio运行出现Unsupported method: AndroidProject.getPluginGeneration() while running project

来源:互联网 发布:ubuntu efi系统分区 编辑:程序博客网 时间:2024/06/06 15:54

这里写图片描述

原因是Instant Run的问题。

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的勾去掉

0 0