Gradle DSL method not found: \'kapt()\' Possible causes: The project \'jetpacklearn\' may be using a version of the Android Gradle plug-in that does not contain the method (
add this line
apply plugin: 'kotlin-kapt'
if you used kapt in android library you must add kotlin-android plugin in your project
apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt'