当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
Advantages and Disadvantages of Blind and Buried Via PCB Stacked Via Design
CLIP论文解读
化算力为战力:宁夏中卫的数字化转型启示录
Li Mu hands-on learning deep learning V2-BERT fine-tuning and code implementation
Detailed explanation of JWT
leetcode 461. 汉明距离
Leetcode sword refers to Offer 15. 1 in the binary number
Abs (), fabs () and LABS ()
亚马逊云科技 Build On 2022 - AIot 第二季物联网专场实验心得
【HiFlow】经常忘记签到怎么办?使用腾讯云场景连接器每天提醒你。
关于shell脚本的一些思考
通关剑指 Offer——剑指 Offer II 009. 乘积小于 K 的子数组
ARMuseum
消除对特权账户的依赖使用Kaniko构建镜像
嵌入式分享合集27
ThreadLocal详解
ECCV 2022 | 清华&腾讯AI Lab提出REALY:重新思考3D人脸重建的评估方法
在树莓派上搭建属于自己的网页(4)
谁的孙子最多II
leetcode 125. 验证回文串