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
The previous answer no longer works with newer versions of ensime. The new version requires something like
:compile-deps ("/home/aij/android/sdk/platforms/android-21/android.jar" ...)
Here's a one-liner to edit the file for you, assuming $ANDROID_HOME is set:
sed -i~ 's|:compile-deps (|:compile-deps ("'"$ANDROID_HOME"'/platforms/android-21/android.jar" |' .ensime
Anyway, this is still just a kludgy hack to get it to work. The proper fix would be to fix one of the two plugins.