Hi, you've cross-posted this to three groups, all for which the discussion
is not really relevant.  I would recommend posting to just android-ndk, for
people wanting to use native code in applications when it is supported at
some point in the future.

On Wed, Apr 22, 2009 at 4:38 AM, MMF <android...@gmail.com> wrote:

> Hi All,
>
> I am facing a problem while loading .so libs from my App.
>
> Here is the story:
>
> I have two native libs say *abc.so* and *xyz.so*.
> I have written a JNI component (say *jni.so*) which is calling APIs from
> abc.so and xyz.so.
>
> Now from the application (Java) when I do system.loadlibrary("jni.so") I
> get an error as "cannot find library".
>
> But when I remove the dependencies of abc.so and xyz.so from jni.so (say I
> just have some dummy functions in my jni.so) and try to load jni.so from
> App, it works fine.
>
> Can someone please let me know what could be problem?
>
> Thanks
> APT
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to