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

audhil

08/22/2017, 12:44 PM
code changes in kotlin files not getting reflected in app, but in java files. anyone faced and solved?
Copy code
my versions as follows
kotlin.incremental=false in gradle.props file
kotlin_version = '1.1.4-2'
buildToolsVersion = "25.0.3"
    supportLibVersion = "25.3.1"
    archLifecycleVersion = "1.0.0-alpha1"
    archRoomVersion = "1.0.0-alpha1"

Android Studio 2.3.3
gradle  2.3.3
wasted lot of time to overcome this issue, but could not succeed 😞
k

kingsley

08/22/2017, 1:52 PM
What do you mean
"not getting reflected in app, but in java files"
Possible actions: Try a full clean build Invalidate cache and restart AS Run gradle from the terminal
You should also update your Gradle to
3.x
while you’re at it
a

audhil

08/22/2017, 1:55 PM
ok, ll upgrade Gradle and check
yup, after changing to
Copy code
classpath 'com.android.tools.build:gradle:3.0.0-beta2'
it started working.
👍 1
and using Android Studio Version 3.0 Preview
5 Views