kotlin-language-server: Android Projects error on R.java

Android compiles all of it’s layout files into a R.java file that is compiled into the resulting apk file. The way we resolve this on other projects (such as vim-javacomoplete2) is to include the .class files from the build folders into the classpath that it uses.

This doesn’t seem to work here. I’ve not delved into why yet - I’m assuming that this language server doesn’t allow for classes on the classpath but it also could just be that Android Kotlin toolchain streamlines this somehow and doesn’t output the same thing.

Opening this as a placeholder until I figure it out 😃

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

@DonnieWest I have created a Roadmap to track planned additions and new features. 😃