How to Compile Zenroid - slashmili/Zendroid GitHub Wiki
pre requirements
java
get newest java version in your box
Android
get android SDK manager from http://developer.android.com/sdk/index.html and install android SDK upper than 2.2 with SDK manager.
SBT
Install sbt
sbt is a build tool for Scala and Java projects
Compile it !
first set a varible ANDROID_SDK_HOME in your terminal
export ANDROID_SDK_HOME="/Users/imili/sandbox/android-sdk/"
You need to download at least one of the android SDK through Android SDK Manager.
Right now in Zenroid's code Android SDK is pointed to android-14 if you downloaded different SDK, you need to point it to correct SDK in project/build.scala
For compiling the codes :
sbt compile
For compiling and running in emulator :
sbt android:start-emulator
hint: for installing app in emulator, first you need to start a emulator in SDK Manager
For compiling and running in device:
sbt android:start-device
hint: for installing app in your device, first you need to enable USB debugging in your phone