How does the Android build process work?

Anirban picture Anirban · Sep 23, 2013 · Viewed 10.1k times · Source

I've found a good article on how the Android build process works, which shows the following process:

enter image description here

However, I've also seen another article which says that it uses javac to convert all files to .class files, then the dx tool in the adk converts all .class files to classes.dex, like so:

enter image description here

Please can someone clarify which one is correct?

Answer

c0ming picture c0ming · Sep 23, 2013

You can take a look at the official document Building and Running http://developer.android.com/tools/building/index.html