Ensime doesn't work with sbt + android-plugin

后端 未结 2 2033
没有蜡笔的小新
没有蜡笔的小新 2021-01-15 13:15

i created a project by using this: https://github.com/gseitz/android-sbt-project.g8

When i start ensime in emacs to edit src/main/scala/Activity.scala i have red hig

2条回答
  •  星月不相逢
    2021-01-15 13:34

    Let Ensime know where it can find the android packages. Add a line to your .ensime file that contains the path to android.jar, for example:

    :compile-jars (" [...] /local/share/java/android-sdk-mac_x86/platforms/android-10/android.jar")

提交回复
热议问题