[TIMOB-14979] Android Build: Build Java files and run dexer
| GitHub Issue | n/a | 
|---|---|
| Type | Story | 
| Priority | High | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2013-10-05T02:14:23.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | 2013 Sprint 20, 2013 Sprint 20 Core, Release 3.2.0 | 
| Components | Android, Tooling | 
| Labels | androidbuild, ay-verified, cb-verified | 
| Reporter | Chris Barber | 
| Assignee | Chris Barber | 
| Created | 2013-08-27T23:53:54.000+0000 | 
| Updated | 2017-03-14T18:07:03.000+0000 | 
Description
	* if need to build java files and dex (TIMOB-2209 Android: Re-enable incremental build)
** build generated classes (aka compile java source)
*** if any modules, update the classpath
*** add "titanium-verify.jar" to classpath
*** if not production, add debug and profiler jars
*** if production and proguard enabled, allow proguard to run (TIMOB-2782 Android: Generate / Run a Proguard configuration based on API usage)
*** run javac on .java files
**** build for all desired abis (TIMOB-15305 Android: Add x86 support to Distribution Build)
**** NOTE: make sure spaces work, otherwise detect if path has spaces and error before build (TIMOB-3180 Android: JAVA_HOME not recognized when launching some Android applications)
** make sure jars aren't included twice before running dexer (TIMOB-14963 Android: Ti.Map and Ti.Cloudpush return "already added: Lcom/google/android/gms/games/achievement/Achievement")
** fire "build.android.dexer" function hook
*** run dexer
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4760
Closing ticket as fixed.