Wednesday, July 18, 2012

[android-developers] How to access already generated .SO file Functions in new Android Project

My .so File Info:

"libvcsFPClient.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped."

So it was build in above format , now i.m trying to access via my project it shows following errors ,

" java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libvcsFPClient.so: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libvcsFPClient.so: cannot open shared object file: No such file or directory (Possible cause: can't load ARM-bit .so on a IA 32-bit platform)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at Damn.<clinit>(Damn.java:4)
Could not find the main class: Damn. Program will exit. "

My system Properties are ,

Using ubuntu 10.04 , i686 .
GCC - 4.4.3

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