Skip to content

Commit ecc9303

Browse files
Create Explain the build process in Android
1 parent a90d1b0 commit ecc9303

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Explain the build process in Android

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Explain the build process in Android:
2+
3+
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.
4+
5+
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.
6+
7+
The final step involves the android apkbuilder which takes all the input and builds the apk (android packaging key) file.

0 commit comments

Comments
 (0)