Tuesday, February 15, 2011

[android-developers] which path will system load a JNI library from

Hi,

In my app, I'm using "System.loadLibrary()" to load my JNI library. It
should load library from "/data/data/myapp/lib/".
Then I add a invocation of "System.getenv("LD_LIBRARY_PATH")", and
found that this system env is "/system/lib/". Does that means that
system will load library from "/system/lib/" first? I think it is TRUE
for a system app, not my app. I'm confused.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate