I'm trying to wrap the Vitamio library v3 and it's a bit complicated. I solved already many problems but I'm stuck on a problem with a resource. The library contains a file named libarm.so which is in fact a 7z file containing many .so files. The library want to load this file (which is located among its resources) to uncompress it and choose the right .so for the device. But that fails with the message:
android.content.res.Resources$NotFoundException: Resource ID #0x7f040000
at android.content.res.Resources.getValue(Resources.java:892)
at android.content.res.Resources.openRawResource(Resources.java:817)
at io.vov.vitamio.Vitamio.copyCompressedLib(Vitamio.java:204)
How can I go further? I usually stay away from resources (or I let B4A handle them), so I don't know how they must be packed in the jar.
android.content.res.Resources$NotFoundException: Resource ID #0x7f040000
at android.content.res.Resources.getValue(Resources.java:892)
at android.content.res.Resources.openRawResource(Resources.java:817)
at io.vov.vitamio.Vitamio.copyCompressedLib(Vitamio.java:204)
How can I go further? I usually stay away from resources (or I let B4A handle them), so I don't know how they must be packed in the jar.