Packaging a shared library

When I want a JS lib packaged I just use <dependency path="test.js"/>. Works fine.
Now I try this for Android, e.g.: <dependency path=""/>. It seems to be completely ignored.
Logcat gives:
java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1891]: 37 could not load needed library '' for '' (load_library[1093]: Library '' not found)

What is the procedure to get a shared lib into an apk?

I think you should make an extension, related article -