Hi, guys, I built a shared library libhello.so, which only contained a function print_hello(char*), and and a program, which used the only function to print "hello android" with android-toolchain.
I mkdir a new dir- /data/test and push libhello.so and hello into emulator, then execute the hello and output the string "hello android". It is work good. But after I move libhello.so into other dir, say ./mylib, and set LD_LIBRARY_PATH=/system/lib:/data/test/mylib, hello outputs nothing. So, any guy knows why and how to make it work ? Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---