This is a template project that can be a starting point of a new Scaloid project.
This contains minimum code as possible; therefore easy to run, examine and extend.
- Maven 3.0.5
- Android SDK
- Both SDK Level 8 and the most recent version should be installed.
You can build using Maven:
$ mvn clean package
This will compile the project and generate an APK. The generated APK is signed with the Android debug certificate. To generate a zip-aligned APK that is signed with an actual certificate, use:
$ mvn clean package -Prelease
The configuration for which certificate to use is in pom.xml.
Deploy to an Android virtual device (AVD):
$ mvn android:deploy
You can use Maven to generate project files for Eclipse or IDEA:
$ mvn eclipse:eclipse
$ mvn idea:idea
We do not recommend to use IDE's own Android build system, because proguard settings are complicated. Use Maven to build and deploy the project.
The environment variable ANDROID_HOME
is incorrect.
This maven project works completely, except one thing that build time usually takes more than 40 seconds. We recommend to build your project with sbt, which enables incremental build. This usually takes only few seconds.
This project is forked from android-scala-test. Thanks rohansingh!