Home > DeveloperSection > Interviews > Why cannot you run standard Java bytecode on Android?

Posted on    November-24-2015 4:32 AM

 Android Android 
Ratings:
 1 Answer(s)
  214  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    November-24-2015 5:32 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick