Hi All,

I am trying to run my service running on Android Donut on to Android
Eclair.
I am getting following unsatisfied linking error from Android Eclair.

====================================================================
Error Log :
====================================================================
I/SystemServer(  913): Notification Manager
I/SystemServer(  913): Mount Service
I/SystemServer(  913): Device Storage Monitor
I/SystemServer(  913): starting SUPL Service (SystemServer)
D/dalvikvm(  913): Trying to load lib /system/lib/
libsuplhelperservicejni.so 0x0
I/dalvikvm(  913): Unable to dlopen(/system/lib/
libsuplhelperservicejni.so): Cannot load library: reloc_library
[1244]:   890 cannot locate
'_ZN7android14AndroidRuntime21registerNativeMethodsEP7_JNIEnvPKcPK15JNINativeMethodi'...
W/dalvikvm(  913): Exception Ljava/lang/UnsatisfiedLinkError; thrown
during Lcom/android/server/SUPLServer;.<clinit>
W/dalvikvm(  913): threadid=51: thread exiting with uncaught exception
(group=0x4001b1b8)
E/AndroidRuntime(  913): Uncaught handler: thread SUPL Thread exiting
due to uncaught exception
E/AndroidRuntime(  913): *** EXCEPTION IN SYSTEM PROCESS.  System will
crash.
E/AndroidRuntime(  913): java.lang.ExceptionInInitializerError
E/AndroidRuntime(  913):        at com.android.server.SUPLService
$SUPLThread.run(SUPLService.java:59)
E/AndroidRuntime(  913): Caused by: java.lang.UnsatisfiedLinkError:
Library suplhelperservicejni not found
E/AndroidRuntime(  913):        at java.lang.Runtime.loadLibrary
(Runtime.java:489)
E/AndroidRuntime(  913):        at java.lang.System.loadLibrary(System.java:
557)
E/AndroidRuntime(  913):        at com.android.server.SUPLServer.<clinit>
(SUPLServer.java:73)
E/AndroidRuntime(  913):        ... 1 more
E/AndroidRuntime(  913): Crash logging skipped, no checkin service
I/Process (  913): Sending signal. PID: 913 SIG: 9
I/ServiceManager(  885): service 'SurfaceFlinger' died
I/ServiceManager(  885): service 'account' died
==================================================================

Here I am creating .so externally and getting load using
System.loadLibrary(libname).
It works fine with Android Donut, while working with same code on
Android Eclair I am getting above error.

Please provide your inputs on it.
Really Appreciate your help on it.


Thanks.

Regards,
_-_Mayank Rana_-_

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to