jensdraht1999
Lurker
Hi,
I know the basics how NDK, but I do not following:
Can you use Linux Ubuntu and cross compile .so, which you place in JNIlibs folder and then use this .so file as libary or do you really need to compile in NDK always.
The problem is, that I want to use another libary. Building this libary is impossible in NDK, thats what the devs say, because it uses other dependencies.
However you can build on Linux and even cross compile it for arm-linux.
But here starts the point, where I get confused. The jnilibs folder need a so file. However you cannot compile a static program with so, because shared objects are dynamically linked. I can create a executable, that will run on adb, but this is not what I want.
I know the basics how NDK, but I do not following:
Can you use Linux Ubuntu and cross compile .so, which you place in JNIlibs folder and then use this .so file as libary or do you really need to compile in NDK always.
The problem is, that I want to use another libary. Building this libary is impossible in NDK, thats what the devs say, because it uses other dependencies.
However you can build on Linux and even cross compile it for arm-linux.
But here starts the point, where I get confused. The jnilibs folder need a so file. However you cannot compile a static program with so, because shared objects are dynamically linked. I can create a executable, that will run on adb, but this is not what I want.