Why cannot you run standard Java bytecode on Android?

Answer Posted / mady

Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode. We need to convert Java class files into Dalvik Executable files using an Android tool called "dx". In normal circumstances, developers will not be using this tool directly and build tools will care for the generation of DVM compatible files.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How one can parse xml in android?

579


What is aidl in Android?

626


what is preferences

1280


How to set layout’s attribute programmatically in android?

592


What is the dagger symbol used for?

547






What is meant by google android sdk?

584


How to show or hide a sencha touch component?

587


Explain androidmanifest.xml file and why do you need this?

623


What is the use of android os?

550


Explain the services component of android?

577


Explain android 4.0 library folder in android?

556


In android, what does dp unit stand for?

584


what is the difference between this and getapplicationcontext in android?

629


Explain me what is a broadcast receiver?

579


What is the adapter in android?

590