You can develop your project just in plain editor and command line, but we recommend using Intellij IDEA while developing.
- Make sure you have Android SDK fully upgraded and installed.
- On Intellij main screen go to
Configure > Plugins
- Make sure you have
Android Support
enabled and click onInstall JetBrains plugin...
<img class=”img-thumbnail” width=”640” height=”480”alt=”Configure Plugins” src=”/resources/img/intellij02.png”>
- Find
Scala
plugin and install it.
- For the best integration with Android project it’s recommended to install
sbt
plugin for Intellij, click onBrowse repositories
button and intallsbt
plugin.
Installing Scala and sbt plugins will require Intellij restart, after that you can simply import project as sbt
project.
- Set
Android Sdk
for while importing project
When downloading dependencies and indexing is done, add new Android Applicatication
configuration. Remove sbt
task and put android:package
as task to run.
You should now have support for Java
and Scala
support in your Android
project using sbt
as build system.