Is it possible to use the Android JNI in normal Java application?
There is a library compiled versions for android as jni for all platforms, in fact so files. Trying to connect this library from normal java apps, like connect, but gives the error "liblog.so: cannot open shared object file: No such file or directory", because in this library there is a relationship. Then installed android-liblog, android-liblog-dev but it didn't help, the error is the same.
ldconfig -p | grep liblog nothing gives.
The source code libraries are closed, because the library closed Protocol. I would like to use it without android. At the library, these dependencies:
How can I fix dependencies? And is it possible to run this library in a regular Java application?
UPD: Solved the problem by adding the variable LD_LIBRARY_PATH in the launch configuration. But there is a new problem. /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header Which package you need to install? Ubuntu 64