当前位置:   article > 正文

Android studio 报错 Plugin [id: ‘com.android.application‘, version: ‘8.1.0‘, apply: false]_plugin [id: 'com.android.application', version: '8

plugin [id: 'com.android.application', version: '8.1.3', apply: false] was n

之前的项目可以运行,过一阵再次打开发现报错如下。但是新建Android studio 项目没有问题可以运行。

  1. Build file 'D:\kt\MyApplication3\build.gradle.kts' line: 2
  2. Plugin [id: 'com.android.application', version: '8.1.0', apply: false] was not found in any of the following sources:
  3. * Try:
  4. > Run with --info or --debug option to get more log output.
  5. > Run with --scan to get full insights.
  6. * Exception is:
  7. org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '8.1.0', apply: false] was not found in any of the following sources:

很久没有查到原因缺的version: '8.1.0'之前已经下载过也不知道为啥还要提示下载

然后就是下载失败

问题后来问题解决

将上边路径修改如下

点击

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/229354
推荐阅读
相关标签