Need to have an AVD image running 2.3.3 (API level 10)
You may use any IDE that supports Maven, but this guide currently focuses on the command line.
Later it asks me to clone the 'maven-android-sdk-deployer' and run mvn install -P 4.1 inside of the cloned repo; I has a node that 4.1 needs to be installed....
=> Should we add the Android 4.1.2 (API Level 16) underneath the Prerequisites? I only installed API-Level-10, and got an error that API-Level-16 is missing. This is confusing, but the fix is easy.
After installing the Android 4.1.2 (API Level 16), I got a new error when running the mvn install -P 4.1 command:
[ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project analytics: Properties file not found: /Users/matzew/Android-DEV/adt-bundle-mac-x86_64-20130219/sdk/extras/google/analytics_sdk_v2/source.properties -> [Help 1]
Again, getting beyond this is not hard, but a bit confusing... that Google Analytics is (somewhat) required.... OK, going to the Android SDK Manager and installing the 'Google Analytics App Tracking SDK' allows me to continue (with mvn install -P 4.1)
Next error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default) on project analytics: The specified file '/Users/matzew/Android-DEV/adt-bundle-mac-x86_64-20130219/sdk/extras/google/analytics_sdk_v2/libGoogleAnalytics.jar' not exists -> [Help 1]
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira