Hi. I have a problem with kotlin and android - som...
# android
r
Hi. I have a problem with kotlin and android - sometimes I need to compile my project twice to see my changes (maybe something to deal with cache) Does anyone else have this problem too ?
s
rwachol: what kotlin plugin and android gradle plugin versions are you using? i had this problem few months ago
r
I’m using
ext.kotlin_version = '1.1.2-3'
for both gradle and kotlin versions
s
What's your android gradle plugin/Android studio version?
I'm also using 1.1.2-3 and AS 2.3.2 all works good for me
r
same versions as me
s
any libs that generate code?
d
Do you use retrolambda?
r
sorry. yes I do use retrolambda, dagger, butter knife
d
I’ve had this problem with older version of retrolambda and kotlin in the same project, check if you don’t have outdated version
r
what version are you using ? my is
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
d
classpath 'me.tatarka:gradle-retrolambda:3.4.0'
🙂
r
are you using kotlin incremental compilation too ?
d
yup
r
thank you, I upgraded retrolambda to
3.6.1
will try to use incremental compilation too