Android Developer Question:

What is the build process in Android?

Tweet Share WhatsApp

Answer:

☛ First step involves compiling the resources folder (/res) using the aapt (android asset packaging tool) tool. These are compiled to a single class file called R.java. This is a class that just contains constants.
☛ Second step involves the java source code being compiled to .class files by javac, and then the class files are converted to Dalvik bytecode by the “dx” tool, which is included in the sdk ‘tools’. The output is classes.dex.
☛ The final step involves the android apkbuilder which takes all the input and builds the apk (android packaging key) file.

Download Android Developer PDF Read All 56 Android Developer Questions
Previous QuestionNext Question
Explain me what is Android SDK?Do you know what are Handlers?