Android studio 报错 Plugin [id: ‘com.android.application‘, version:
之前的项目可以运行,过一阵再次打开辟现报错如下。但是新建Android studio 项目没有问题可以运行。Build file 'D:\kt\MyApplication3\build.gradle.kts' line: 2
Plugin was not found in any of the following sources:
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin was not found in any of the following sources: https://img-blog.csdnimg.cn/direct/e59673b9b9814b9daea278116d904e8c.png
很久没有查到原因缺的version: '8.1.0'之前已经下载过也不知道为啥还要提示下载
https://img-blog.csdnimg.cn/direct/ae602d54c19f48f5840ea1e96fdf25a3.png
然后就是下载失败
问题后来问题办理
https://img-blog.csdnimg.cn/direct/133cb008387b47dda5aba0eb8f605b96.png
https://img-blog.csdnimg.cn/direct/65f1e91c3d34431cb8f594fac9cc2f04.png
将上边路径修改如下
https://img-blog.csdnimg.cn/direct/b00e1faecf8d4322be1bdac7914fcaf9.png
点击
页:
[1]