android studio kotlin source is null error
This org.jetbrains.kotlin.util.FileAnalysisException with a java.lang.IllegalArgumentException: source must not be null is a known issue that can sometimes occur with the Kotlin compiler. It seems to be related to how the compiler analyzes certain source code structures.
When this happens, you need to go clean your project and do another rebuild.
For my case, I was trying to test out the databinding = true feature.
Comments