https://kotlinlang.org logo
Title
k

katz

03/18/2019, 1:36 PM
any solution on this? (clearing caches, reimports not helping)
e

Eton Otieno

03/18/2019, 2:24 PM
Make sure you've applied the kotlin-android-extensions plugin in your app module build.gradle file and then try to sync
r

rkeazor

03/18/2019, 9:37 PM
when you rebuild your project is it successful? Also Is the View your trying to access part of the layout that was inflated?
a

A.K.

03/19/2019, 12:36 PM
j

Justin

03/22/2019, 12:31 AM
For me what resolves this in AS, is going to File - Sync Project with Gradle files, and also running the
androidDependencies
task. Occasionally when both of these fail, I'll delete all my iml files and delete all build folders, then I'll File -> Open the project's root directory