Search This Blog

Saturday, 4 April 2015

SCALA development for Android is becoming more pragmatic

Only three weeks after my last post SCALA development for Android is becoming more pragmatic again. This is due to the new IntelliJ IDEA version 14.1.. IntelliJ IDEA provides now a seamless integration of the android-sdk-plugin:
  1. Set ANDROID_HOME to the path where you have stored your Android SDK.
  2. Download latest hello scaloid project template.
  3. Go to the root of the hello scaloid project and type:
    android update project -p .
  4. Make sure you use IntelliJ IDEA 14.1 or later.
  5. Install SCALA and Android plugins into IDEA.
  6. File -> New -> Import Project... -> Import project from external sources... -> Import project from external model -> select SBT.
This should do the job and compiling and debugging should work out of the box.