Jenkins is unable to build a multi-module Android project. If you configure such a project in Jenkins, the build will fail with this error:
—
[ERROR] Cannot create the APKBuilder object
com.android.sdklib.build.ApkCreationException: java.io.FileNotFoundException: /home/hudsonslave/data/workspace/callid-for-android/application/target/classes.dex does not exist
—
To reproduce this problem, you need to have the create a new Jenkins job, using this Git "URL of repository" value: git://gitorious.org/callerid-for-android/mainline.git
The "Branch Specifier (blank for default):" is "master"
Set "Goals and options" to "clean install"
The defaults should be fine for the rest. You will need the Android Tools installed and ANDROID_HOME set appropriately, too, as this is an Android project 
Notably, if this code is checked out and simply built using "mvn clean install" on the command line (which should do the exact same thing as Jenkins) the build succeeds.
I believe Jenkins is incorrectly figuring out which goals to apply to each module, skipping the important "android:generate-sources compiler:compile resources:resources jar:jar android:unpack android:dex" goals. See this mailing list discussion for a similar problem experienced by others: https://groups.google.com/group/maven-android-developers/browse_frm/thread/f2a25a24ab932567/d875b723e56cd55e?#d875b723e56cd55e