Is it possible to generate a dll with android ndk for testing purposes? -


i developing app uses native library. test using non-android dependent framework robolectric.

the problem is, native functionality cannot loaded using

system.loadlibrary("mylib"); 

because on windows looks "mylib.dll", , able build libmylib.so not compatible windows.

is there way build dll (it used testing purposes ofc)?

if want test application on windows, need *.dll. *.so files unix "shared libraries" - same functionality windows' dll. have build c++ sources ide visual studio, code blocks, or else can build sources windows.

in fact, when building "ndk-build" android, cross-compiling unix system arm architecture mostly. when running on windows, you'll on x86 / x86_64.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -