Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘c

Posted 闲言_

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘c相关的知识,希望对你有一定的参考价值。

错误产生环境

复制一份Andnroid studio 工程代码,使用andorid studio 运行项目时产生

错误描述

Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'com.android.internal.application']

在这里插入图片描述

错误原因

  • 可能是我项目有中文路径的原因

解决办法

  • 在项目中的gradle.properties文件中添加语句:
android.overridePathCheck=true

在这里插入图片描述

-添加完后点击右上角的“刷新”按钮就可以了

在这里插入图片描述

原文地址:参考原文

以上是关于Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘c的主要内容,如果未能解决你的问题,请参考以下文章

Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘c

Caused by: org.gradle.api.InvalidUserCodeException: Build was configured to prefer settings reposito

Hang caused by GC

Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:20880 Caused by: ja

Mathematical Problems Caused by CCD

Caused by SSLError