https://kotlinlang.org logo
#android
Title
# android
y

yanek_

06/09/2018, 2:06 PM
smth wrong with the plugin I guess
r

rkeazor

06/09/2018, 2:06 PM
nah, something is wrong with your build.gradle lol
y

yanek_

06/09/2018, 2:07 PM
🙂
r

rkeazor

06/09/2018, 2:08 PM
umm kapt shouldn’t cause you problems. what does the error say exactly
you have both the kotlin plugin and the kapt plugin correct
y

yanek_

06/09/2018, 2:11 PM
to be clear. I ’ve just created a new android wear project with no activity and just added one line:
apply plugin: 'kotlin-kapt'
now it looks like that: apply plugin: ‘com.android.application’ apply plugin: ‘kotlin-android’ apply plugin: ‘kotlin-kapt’ apply plugin: ‘kotlin-android-extensions’
I receive the error while my project is syncing
r

rkeazor

06/09/2018, 2:12 PM
i have the same version of android studio, so let me try
y

yanek_

06/09/2018, 2:13 PM
it strange because Iv’e tried it using two Android Studios: the stable version and a canary one
r

rkeazor

06/09/2018, 2:16 PM
lol wait thats not a error ,thats a warning lol
your build is still successful
y

yanek_

06/09/2018, 2:18 PM
🙃
r

rkeazor

06/09/2018, 2:18 PM
🤦‍♀️
y

yanek_

06/09/2018, 2:18 PM
I need a break
r

rkeazor

06/09/2018, 2:18 PM
lol
y

yanek_

06/09/2018, 2:18 PM
thanks man
thanks for you help. I spent an hour to sort that out. Installed the stable version of AS and created a few small projects with different versions of gradle and kotlin 🤕 that was terrible… lol
r

rkeazor

06/09/2018, 2:24 PM
This is 2018, kotlin comes bundled with android studio 😂 . Just click the add Kotlin support next time you create a project lol