Why cannot you run standard Java bytecode on Android?



Why cannot you run standard Java bytecode on Android?..

Answer / 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

More Android OS Interview Questions

How to use hashmap with arraylist in android?

0 Answers  


How does manifest file plays an integral role in app development?

0 Answers  


what is anr? What is the cause of anr and how will you rectify this problem?

0 Answers  


What is the difference between a fragment and an activity?

0 Answers  


Is android the most popular os?

0 Answers  


There are five different methods to store persistent data. They are: shared preferences. Internal storage. External storage. Network and __?

0 Answers  


Why did we open the Android source code?

1 Answers  


What is the difference between file, class, and activity in android?

0 Answers  


What is onlistitemclick()?

0 Answers  


How do I turn off auto sync on android?

0 Answers  


Explain apk format in android?

0 Answers  


What are the notifications available in android?

0 Answers  


Categories