Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How the build process works in Android?
Home
JQuery
How the build process works in Android?
0
votes
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
How the build process works in Android?
#android
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 23, 2020
by
AdilsonLima
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.
Related questions
0
votes
Q: How to declare global variables in Android?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What is View Group in Android? and how they are different from views?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: How to persist data in an Android app?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: How does the OutOfMemory happens in Android?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: How can we get the context in a fragment of Android?
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
#android
0
votes
Q: How do I pass data between Activities in Android application?
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
#android
0
votes
Q: What are key features of Android 11?
asked
Sep 21, 2020
in
JQuery
by
JackTerrance
#android
0
votes
Q: What is the latest Android Version?
asked
Sep 21, 2020
in
JQuery
by
JackTerrance
#android
+1
vote
Q: What is basic defination of Intents in android?
asked
Aug 3, 2020
in
JQuery
by
Hodge
#android
+1
vote
Q: What is Android Basic definition?
asked
Aug 3, 2020
in
JQuery
by
Hodge
#android
...