Plugin Error Problems found loading plugins问题解决

本文介绍了解决Android Studio中出现“PluginErrorProblemsfoundloadingplugins”错误的方法。该问题通常由于某些插件未启用导致。通过进入设置并启用所有必需的插件,可以轻松解决此问题。

1. 问题描述:

在android studio中打开android项目,报错如下:

“Plugin Error Problems found loading plugins”。


2. 分析与解决:

显然,是Plugin的问题。

解决: 在android studio中,“File”->"Settings..." ->"Plugins"中,发现Android Support没有被选中。我们将没有选中的全部选中(打对勾),点击“Apply”,点击“OK”,提示重启Android Studio,选择重启。则重启后,上述问题就不存在了。

[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# mkdir -p ~/openfire-plugins/restapi-plugin/{src/main/java,src/main/resources} [root@yfw openfire]# cd ~/openfire-plugins/restapi-plugin [root@yfw restapi-plugin]# vim pom.xml [root@yfw restapi-plugin]# mvn clean package [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Malformed POM /root/openfire-plugins/restapi-plugin/pom.xml: Expected root element 'project' but found 'plugin' (position: START_TAG seen <?xml version="1.0" encoding="UTF-8"?>\n<plugin>... @2:9) @ /root/openfire-plugins/restapi-plugin/pom.xml, line 2, column 9 [ERROR] 'modelVersion' is missing. @ line 2, column 9 [FATAL] 'groupId' is missing. @ line 2, column 9 [FATAL] 'artifactId' is missing. @ line 2, column 9 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project [unknown-group-id]:[unknown-artifact-id]:1.0.0 (/root/openfire-plugins/restapi-plugin/pom.xml) has 4 errors [ERROR] Malformed POM /root/openfire-plugins/restapi-plugin/pom.xml: Expected root element 'project' but found 'plugin' (position: START_TAG seen <?xml version="1.0" encoding="UTF-8"?>\n<plugin>... @2:9) @ /root/openfire-plugins/restapi-plugin/pom.xml, line 2, column 9 -> [Help 2] [ERROR] 'modelVersion' is missing. @ line 2, column 9 [ERROR] 'groupId' is missing. @ line 2, column 9 [ERROR] 'artifactId' is missing. @ line 2, column 9 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException [root@yfw restapi-plugin]#
10-04
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

liranke

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值