当前位置:网站首页>Android build error: Plugin with id ‘kotlin-android‘ not found.
Android build error: Plugin with id ‘kotlin-android‘ not found.
2022-08-03 20:25:00 【Bing0lin】
Refrence
https://metapx.org/plugin-with-id-kotlin-android-not-found/
To fix the error, you need to add kotlin-gradle-plugin to your build.gradle file as shown below:
plugins {
id 'com.android.application' version '7.1.2' apply false
id 'com.android.library' version '7.1.2' apply false
// 添加下面这一句
id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}
The latest Android Studio lists the dependencies using Gradle plugins DSL as shown on Kotlin plugins for Gradle documentation.
边栏推荐
猜你喜欢

若依集成easyexcel实现excel表格增强

涨薪5K必学高并发核心编程,限流原理与实战,分布式计数器限流

Lecture topics and guest blockbuster, TDengine developers conference to promote data technology "broken"

tRNA-m5C转运RNA(tRNA)修饰5-甲基胞嘧啶(m5C)|tRNA修饰m1Am2A (2-methyladenosine)

力扣206-反转链表——链表

不知道这4种缓存模式,敢说懂缓存吗?

转运RNA(tRNA)甲基化修饰7-甲基胞嘧啶(m7C)|tRNA-m7G

化算力为战力:宁夏中卫的数字化转型启示录

How can a cloud server safely use local AD/LDAP?

一种能有效缓解环境噪声对音频质量干扰的方案
随机推荐
Power button 206 - reverse list - the list
简单又有效的基本折线图制作方法
Power button - 203 - remove the list elements linked list
glusterfs 搭建使用
leetcode 268. Missing Numbers (XOR!!)
ECCV 2022 | 清华&腾讯AI Lab提出REALY:重新思考3D人脸重建的评估方法
迪赛智慧数——柱状图(多色柱状图):2021年我国城市住户存款排名
tRNA-m5C转运RNA(tRNA)修饰5-甲基胞嘧啶(m5C)|tRNA修饰m1Am2A (2-methyladenosine)
【飞控开发高级教程3】疯壳·开源编队无人机-定高、定点、悬停
charles配置客户端请求全部不走缓存
leetcode 16.01. Swap numbers (swap the values of 2 numbers without using temporary variables)
xss.haozi练习通关详解
Use ControlTemplate or Style from resource file in WPF .cs and find the control
华为设备配置VRRP负载分担
为什么 BI 软件都搞不定关联分析
error: C1083: 无法打开包括文件: “QString”: No such error: ‘QDir‘ file not found
【微信小程序2】事件传参与数据同步[03]
ES6 deconstruction assignment - array object deconstruction and deconstruction
Statistical machine learning 】 【 linear regression model
Detailed demonstration pytorch framework implementations old photo repair (GPU)