Question : plugin with id 'kotlin-android' not found.
Answered by : hannan
To use the plugin, you have to add it in your root build.gradle file
buildscript {
ext.kotlin_version = '1.1.60' repositories { jcenter() maven { url 'https://maven.google.com' } } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
}
Source : | Last Update : Thu, 10 Mar 22
Question : kotlin plugin with id 'com.android.application' not found
Answered by : blueeyed-bug-fdrxubjlrmm5
pluginManagement { repositories { gradlePluginPortal() google() mavenCentral() }
}
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() }
}
rootProject.name = "KotlinApp"
include ':app'
Source : https://metapx.org/plugin-with-id-com-android-application-not-found/ | Last Update : Tue, 06 Sep 22