android studio新建项目时报错Could not install Gradle distribution from、An exception occurred applying plugi

  • Could not install Gradle distribution from xxxxxx…
    解决方法:
  1. 点击报错中的链接下载相应的压缩包,或者从官网下载;
  2. 将gradle-wrapper.properties文件中的distributionUrl的值设置为上一步下载的安装包的路径;
    android studio新建项目时报错Could not install Gradle distribution from、An exception occurred applying plugi_第1张图片
  • 上一个报错解了之后,接着又报错
    An exception occurred applying plugin request [id: ‘com.android.application’]
    解决方法:
    IDE设置Gradle JVM
    android studio新建项目时报错Could not install Gradle distribution from、An exception occurred applying plugi_第2张图片

参考:
https://blog.csdn.net/weixin_46369022/article/details/119914315

你可能感兴趣的:(Android,android,studio,android,gradle)