当前位置:网站首页>Android build error: Plugin with id 'kotlin-android' not found.
Android build error: Plugin with id 'kotlin-android' not found.
2022-08-03 21:19: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 falseid 'com.android.library' version '7.1.2' apply false// Add the following sentenceid '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.
边栏推荐
猜你喜欢
随机推荐
Engineering Effectiveness Governance for Agile Delivery
Cross-end development technical reserve record
canvas螺旋动画js特效
剑指 Offer 16. 数值的整数次方
什么密码,永远无法被黑客攻破?
【Unity3D】Tank对战
if _name_ == “__main__“:NameError: name ‘_name_‘ is not defined
C. awoo‘s Favorite Problem--Educational Codeforces Round 130 (Rated for Div. 2)
模板字符串
反射机制
小朋友学C语言(1):Hello World
CheckBox列表项选中动画js特效
XSS online shooting range---prompt
idea2021.1.3配置Gradle步骤
【使用 Pytorch 实现入门级的人工神经网络】
在树莓派上搭建属于自己的网页(3)
Several difficult problems in DDD
Cesium 修改鼠标样式
检测和控制影子IT的五个步骤
LitJson报错记录