Hi,
I am getting an UnsatisfiedLink Error (Runtime).
I know the reason behind this error. Its because of some Library
Loading problem.
Description:
1. I am using System.loadLibrary(''abc");
abc: its the library name
2. I have checked the Android.mk file where the entries has to be done
for the library file.
Its libabc.so
3. When I run the application, its showing runtime error : Unsatisfied
LinkError
Log:
03-09 21:26:33.343: ERROR/PVServiceManager(403): WARNING: Could not
load the required native library
03-09 21:26:33.343: WARN/dalvikvm(403): No implementation found for
native Lcom/pv/service/PVServiceManager;.Instantiate (Ljava/lang/
Object;Landroid/os/Parcel;)I
03-09 21:26:33.343: DEBUG/AndroidRuntime(403): Shutting down VM
03-09 21:26:33.343: WARN/dalvikvm(403): threadid=1: thread exiting
with uncaught exception (group=0x40015578)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): FATAL EXCEPTION: main
03-09 21:26:33.343: ERROR/AndroidRuntime(403):
java.lang.UnsatisfiedLinkError: Instantiate
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
com.pv.service.PVServiceManager.Instantiate(Native Method)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
com.pv.service.PVServiceManager.Start(PVServiceManager.java:57)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
com.pv.service.PVService.startMyService(PVService.java:81)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
com.pv.service.PVService.onCreate(PVService.java:50)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
android.app.ActivityThread.handleCreateService(ActivityThread.java:
1949)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
android.app.ActivityThread.access$2500(ActivityThread.java:117)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:989)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
android.os.Handler.dispatchMessage(Handler.java:99)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
android.os.Looper.loop(Looper.java:123)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
android.app.ActivityThread.main(ActivityThread.java:3687)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
java.lang.reflect.Method.invokeNative(Native Method)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
java.lang.reflect.Method.invoke(Method.java:507)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:842)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
03-09 21:26:33.343: ERROR/AndroidRuntime(403): at
dalvik.system.NativeStart.main(Native Method)
03-09 21:26:33.371: INFO/Zygote(411): Zygote: pid 411 has CALL
PRIVILEGED permission, then set capability for CAP_SYS_ADMIN (21)
Can anyone help on this.
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en