首页 > 移动平台 > 详细

安卓gradle时报错"ERROR: Plugin with id 'com.android.application' not found."

时间:2021-04-25 00:06:20      阅读:37      评论:0      收藏:0      [点我收藏+]

在build.gradle中更改gradle插件版本号

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
         //版本号请根据自己的gradle插件版本号自行更改
        classpath ‘com.android.tools.build:gradle:4.1.1‘
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

 

安卓gradle时报错"ERROR: Plugin with id 'com.android.application' not found."

原文:https://www.cnblogs.com/Arisf/p/14698496.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!