Is there a way to import a C++ “.lib” into java, using either the androind NDK, or the Java JNI? I do not have the source code to create a dll. which I am aware would provide a way to import into java, however I have not found a way to convert the “.lib” file to a .dll.
Thank you in advance for any thoughts.
Note: The library is a windows “.lib” compiled in C++
You can’t use a Windows/MSVC .lib file with the Android NDK (even if you could, it’d be x86 and most Android devices are ARM). You will need to compile the library from source.