WHY CANNOT YOU RUN STANDARD JAVA BYTECODE ON ANDROID?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 332  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Why cannot you run standard Java bytecode on Android?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!