Can i .odex file on dalvikvm ? Without recompiling the dex to odex everytime?


This Content is from Stack Overflow. Question asked by Anonymous27

A followup of this question :

As I can run a Dex file on dalvikvm through a terminal emulator (I’m using termux or adb shell) /system/bin/dalvikvm -cp /path/to/classes.dex classname

Which runs successfully and I noticed it generated a directory oat which contains oat/arm64/classes.odex and classes.vdex file. odex is faster than Dex so can I run it directly every time without recompiling dex to odex?


This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?