This is an Android quickstart project that includes:
- Maven 3.2+
- ANDROID_HOME set to the Android SDK location
- Populate local maven repository with Android dependencies using Maven Android SDK Deployer
- Intellij IDEA
For Android Annotations to work in IDEA, perform the following configuration:
- Go to File > Default Settings
- Search for Annotation Processors
- Enable annotation processing
- Store generated sources relative to module content root
- Set the sources directories to:
- target/generated-sources/annotations
- target/generated-test-sources/test-annotations
- Add the above generated directories as source directories in File > Project Structure under the correct module
At the time of this writing, ActiveAndroid was not available on the public maven repositories and therefore needed to be manually downloaded and installed. Here's the maven dependency:
<dependency>
<groupId>com.activeandroid</groupId>
<artifactId>activeandroid</artifactId>
<version>3.1-SNAPSHOT</version>
</dependency>