Androidmedia:encode/decode:Using libdvm fails in new Android versions (>v4.4).
Submitted by Reza Razavi
Link to original bug (#781860)
Description
Androidmedia plugin tries to create a Java VM (using libdvm.so) when Java VM is not available, but it fails in most recent devices because since android 4.4 google has moved from using dalvik to art (and libdvm.so is not even available). This bug prevents using androidmedia at runtime level for most Android devices and it needs get fixed by adding libart support. A good sample can be found in google libnativehelper.