Alex Rivera | Logout

armeabi and armeabi-v7a folder

Asked 2011-06-06T08:40:07.413
12

I'm working on an Android project and I am using the NDK to call native methods. I have two libraries (.so files) and one is located in the libs/armeabi folder and the other one is located in the libs/armeabi-v7a lib folder.

If I try to run the application then it won't load the library in the /libs/armeabi folder. If I move the library file to the libs/armeabi-v7a folder, then it loads the library but after 5 to 10 minutes it crashes and gives a segmentation fault error.

I was wondering if the location of the library (different folder) might cause this problem.

Edit
Report

1 Answer

-6

I'm new to this myself, but going the same path... as far as I know, one may only have a single shared library; to use several libraries, make them static and link them together to a single shared one. Of course, this assumes you're building the libraries yourself ;-)

answered 2011-09-22T17:07:55.373

Your Answer