Ubuntu系统Unsupported method问题和解决方案

2.问题:
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.


解决方案:
General Issue:-

It can occur because AS was checking availability of the Instant Run feature. The fixed is to disable Instant Run:

Windows & Linux:

File -> Settings -> Build,Execution,Deployment -> Instant Run.

Mac:

Android Studio -> Preferences -> Build,Deployment -> Instant Run.

相关文章

文章浏览阅读2.3k次,点赞4次,收藏22次。最近安装了CARLA预...
文章浏览阅读6.3k次,点赞5次,收藏15次。在清华镜像中下载U...
文章浏览阅读5k次。linux环境, python3.7.问题描述: 安装...
文章浏览阅读4.2k次,点赞4次,收藏17次。要安装这个 standa...
文章浏览阅读894次,点赞51次,收藏31次。在安卓使用vscode主...