Hi All,

I am working on android froyo. I am getting "Cannot load library:
link_image[1995]: failed to link libmedia_jni.so" error while booting.

below is the logcat:

D/AndroidRuntime( 1674): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 1674): CheckJNI is ON
D/AndroidRuntime( 1674): --- registering native functions ---
I/SamplingProfilerIntegration( 1674): Profiler is disabled.
I/Zygote  ( 1674): Preloading classes...
D/dalvikvm( 1674): GC_EXPLICIT freed 816 objects / 47208 bytes in 8ms
D/dalvikvm( 1674): GC_EXPLICIT freed 219 objects / 13560 bytes in 19ms
D/dalvikvm( 1674): GC_EXPLICIT freed 253 objects / 14336 bytes in 20ms
D/dalvikvm( 1674): GC_EXPLICIT freed 466 objects / 28872 bytes in 22ms
D/dalvikvm( 1674): GC_EXPLICIT freed 2090 objects / 108312 bytes in
26ms
I/dalvikvm( 1674): Unable to dlopen(/system/lib/libmedia_jni.so):
Cannot load library: link_image[1995]: failed to link libmedia_jni.so
I/dalvikvm( 1674):
W/dalvikvm( 1674): Exception Ljava/lang/UnsatisfiedLinkError; thrown
during Landroid/media/DecoderCapabilities;.<clinit>
W/dalvikvm( 1674): Exception Ljava/lang/ExceptionInInitializerError;
thrown during Landroid/media/MediaFile;.<clinit>
E/Zygote  ( 1674): Error preloading android.media.MediaFile.
E/Zygote  ( 1674): java.lang.ExceptionInInitializerError
E/Zygote  ( 1674):      at java.lang.Class.classForName(Native Method)
E/Zygote  ( 1674):      at java.lang.Class.forName(Class.java:235)
E/Zygote  ( 1674):      at java.lang.Class.forName(Class.java:182)
E/Zygote  ( 1674):      at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:302)
E/Zygote  ( 1674):      at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)
E/Zygote  ( 1674):      at dalvik.system.NativeStart.main(Native
Method)
E/Zygote  ( 1674): Caused by: java.lang.ExceptionInInitializerError
E/Zygote  ( 1674):      at
android.media.MediaFile.isWMAEnabled(MediaFile.java:106)
E/Zygote  ( 1674):      at
android.media.MediaFile.<clinit>(MediaFile.java:131)
E/Zygote  ( 1674):      ... 6 more
E/Zygote  ( 1674): Caused by: java.lang.UnsatisfiedLinkError: Library
media_jni not found
E/Zygote  ( 1674):      at java.lang.Runtime.loadLibrary(Runtime.java:
461)
E/Zygote  ( 1674):      at java.lang.System.loadLibrary(System.java:
557)
E/Zygote  ( 1674):      at
android.media.DecoderCapabilities.<clinit>(DecoderCapabilities.java:
46)
E/Zygote  ( 1674):      ... 8 more
D/AndroidRuntime( 1674): Shutting down VM
W/dalvikvm( 1674): threadid=1: thread exiting with uncaught exception
(group=0x4001d7f0)
init: untracked pid 1675 exited
D/skia    ( 1674): purging 6K from font cache [1 entries]
D/AndroidRuntime( 1679):
D/AndroidRuntime( 1679): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<


Please help me to solve this error.

Regards
Ashwani

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

Reply via email to