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 will you record a phone call in android?

759


How to mention an activity in manifest file?

714


What happens to deleted files in android?

701


Is it necessary to update apps on android?

657


What are typical subdirectories that the “res” directory does contain?

652


Creating an android application using the eclipse plugin?

703


What is an adapter in android?

694


What is the android:versioncode attribute in the androidmanifest.xml file?

671


What is framelayout ?

682


What’s the difference between a file, a class and an activity in android?

709


Explain the difference between serializable and parcelable?

677


how serialization is different from binders?

685


Which types of flags are used to run an application on android?

692


What is android 7.0 called?

635


Is google pixel an android phone?

677