Re: [android-developers] System.loadLibrary() failes in Android with UnsatisfiedLinkError

2011-05-31 Thread Nikolay Elenkov
On Tue, May 31, 2011 at 5:27 PM, Viju mail2vija...@gmail.com wrote:

 I have added the lib folder in my project which contains both
 jpcap.dll and libjpcap.so. Also I have given the Native library
 location to this lib folder.

 When I try to call this function System.loadLibrary(jpcap) it throws
 UnsatisfiedLinkError and the applications is getting crashed.


You certainly don't need the dll. Did you compile libjpcap.so for
Android (ARM)?

-- 
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


Re: [android-developers] System.loadLibrary() failes in Android with UnsatisfiedLinkError

2011-05-31 Thread Vijay
Can you please tellme How can I do that ? (i.e compiling it for ARM?
I'm running my SDK in windows xp.?


regards.
Vijay

On Tue, May 31, 2011 at 2:02 PM, Nikolay Elenkov
nikolay.elen...@gmail.comwrote:

 On Tue, May 31, 2011 at 5:27 PM, Viju mail2vija...@gmail.com wrote:
 
  I have added the lib folder in my project which contains both
  jpcap.dll and libjpcap.so. Also I have given the Native library
  location to this lib folder.
 
  When I try to call this function System.loadLibrary(jpcap) it throws
  UnsatisfiedLinkError and the applications is getting crashed.
 

 You certainly don't need the dll. Did you compile libjpcap.so for
 Android (ARM)?

 --
 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

-- 
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