• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

App Inventor Question about cross-compilation?

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.
 
Back
Top Bottom