已解决org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘com.andro
2023-09-27 14:27:33 时间
已解决org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘com.android.internal.application’]
报错问题
粉丝群里面的一个小伙伴敲代码时发生了报错(当时他心里瞬间凉了一大截,跑来找我求助,然后顺利帮助他解决了,顺便记录一下希望可以帮助到更多遇到这个bug不会解决的小伙伴),报错信息如下:
Android Studio出现Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘com.android.internal.application’]
解决方法
解决方法如下
在项目中的gradle.properties文件中添加语句:
android.overridePathCheck=true
添加完后点击右上角的“刷新”按钮就可以了
福利
每周会送6本技术书籍包邮到家
由于博主时间精力有限,每天私信人数太多,没办法每个粉丝都及时回复
大家可以进社区裙或者添加博主微信
点击下方链接即可
http://t.csdn.cn/6kInJ
相关文章
- SD卡读写之FileNotFoundException: /storage/emulated/0object.txt: open failed: ENOENT (No such file or dir
- 报错:sqoop2执行job时:Exception: Job Failed with status:3
- spark任务执行过程中经常性的failed但是任务并没有失败最后总能跑完
- SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder
- SpringBoot运行出现 Lookup method resolution failed; nested exception is java.lang.IllegalStateException
- 【node-sass】 Module build failed: Error: ENOENT: no such file or directory, scandir 'C:UserslizhaohongDesktoptestwebpacknode_modules.4.7.2@node-sassvendor'
- android studio 突然出现Gradle project sync failed 错误
- ambari2.6.50 openssl 版本问题:SSLError: Failed to connect. Please check openssl library versions. Openssl error upon host registration
- ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component解决
- CFNetwork SSLHandshake failed (-9806)
- Gradle sync failed: Uninitialized object exists on backward branch 142
- 【深度学习的linux显卡服务器维护记录】 服务器cuda不能用,nvidia-smi报错“Failed to initialize NVML: Driver/library version mismatch”
- 解决Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- 【HMS core】【Scan kit】iOS集成扫码SDK无法上架问题之报错:Asset validation failed (90171)
- Attempt to fetch logical page (1:164360) in database 17 failed. It belongs to allocation unit 72057594328317952 not to 281474980642816.
- docker.service: Failed with result ‘exit-code‘
- xhprof查看性能测试图一直报错:failed to execute cmd: " dot -Tpng"多种因素解决方案
- Failed to connect to gitee.com 或者是remote: Incorrect username or password ( access token )
- SpringBlade 端口占用 Web server failed to start. Port 80 was already in use.
- Android studio 编译项目时报错: Gradle 'XXX' project refresh failed