Android Development Flow
November 5th, 2008
This diagram shows how Java source code, XML files, and other resources are compiled and packaged into an Android package file. The resulting .apk file is actually a JAR file, you can see its content by typing jar -tvf MyApp.apk.
Please let me know if I got anything wrong!

- The yellow rounded rectangles are Android SDK tools
- The orange boxes are files created by the programmer
- The remaining white boxes are generated by the tools
Sweet, very useful!
It’s nice to see a such a clear overview of the whole process.
It’s probably obvious to everyone, but the resources wind up in the apk file, as well as being used to generate R.java. I presume they are added by apkbuilder.
Thank you for showing the big picture of android development !
Awesome, bro!
Nice job! Thanks Erik
@Gabriel who is “Erik”?
Nice representation. Could you tell more on the significance of dx and apk builder to more details..
So cool! It’s new! Thanks!
I don’t know MyService.aidl and aidl tool. And where’s MyService.java?