当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
leetcode 16. 数值的整数次方(快速幂+递归/迭代)
汉源高科8光口12电口交换机千兆8光8电12电16电网管型工业以太网交换机
leetcode refers to Offer 58 - II. Left Rotate String
高位套牢机构,用友网络的信任危机是如何产生的?
leetcode 231. Powers of 2
leetcode 剑指 Offer 58 - II. 左旋转字符串
Edge box + time series database, technology selection behind Midea's digital platform iBuilding
华为设备VRRP配置命令
Alexa染料标记RNA核糖核酸|RNA-Alexa 514|RNA-Alexa 488|RNA-Alexa 430
wordpress建立数据库连接时出错
极验深知v2分析
tRNA-m5C转运RNA(tRNA)修饰5-甲基胞嘧啶(m5C)|tRNA修饰m1Am2A (2-methyladenosine)
Mapper输出数据中文乱码
华为设备配置VRRP与BFD联动实现快速切换
谁的孙子最多II
Statistical machine learning 】 【 linear regression model
为什么 BI 软件都搞不定关联分析
tkwebview2创作心得
力扣707-设计链表——链表
算法--交错字符串(Kotlin)









