Since Google removed "openDexFile(byte[] fileContents)" in newer Android versions, we are looking for a replacement here, and in addition we would prefer to use precompiled code (cf. dex2oat), too.
Is anyone aware of a function to perform that task? We don't want to store the file on the disk, too.
What about replacing the code of an app in memory maybe? Might this be possible under the new ART VM? I'm looking for further information on this topic. I know it was possible with the former Dalvik VM.
Any help is appreciated. Thanks.