Import NDK Libs

Monkey Targets Forums/Android/Import NDK Libs

Pixtel(Posted 2014) [#1]
Hi,

In my module, I need to import my lib.jar and my NDK files lib.so
I only succeed to import the jar file with the import command.
#LIBS+="${CD}/libs/lib.jar"

but when I import these ndk files

#LIBS+="${CD}/libs/armeabi/lib.so"
#LIBS+="${CD}/libs/armeabi-v7a/lib.so"
#LIBS+="${CD}/libs/mips/lib.so"
#LIBS+="${CD}/libs/x86/lib.so"

the directories (armeabi, x86, ...) are lost.

The only solution I've found is to copy NDK files with theirs directories in the template android target. Do you know if a proper solution exist ?


ziggy(Posted 2014) [#2]
Import "filename.so" ?


Pixtel(Posted 2014) [#3]
This solution not work, NDK libs are not copied in destination directory.


Pharmhaus(Posted 2014) [#4]
EDIT 2: I just looked it up, as far as I can see there is no copy or createdir (for LIBS).
So this sounds like a Bug to me, try to post a bug in the bug forum....