본문

CredentialManagerService_1_5(이)가 중지되었습니다 오류 해결하기




E/ActivityThread(11156): Failed to find provider info for com.sonyericsson.socialengine

D/lights  (  281): set_light_buttons: brightness=255

I/ActivityManager(  281): Start proc com.sonyericsson.credentialmanagerservice:credentialmanagerservice for service com.sonyericsson.credentialmanagerservice/.CredentialManagerService: pid=11413 uid=1000 gids={1015, 3002, 3001, 3003, 3007}

I/dalvikvm(11413): Turning on JNI app bug workarounds for target SDK version 10...

I/Scenic  (11156): com.sonyericsson.scenic.system.helpers.ScenicView.onPause(ScenicView.java:99): onPause

D/dalvikvm(11413): Trying to load lib /data/data/com.sonyericsson.credentialmanagerservice/lib/libcredential-manager-service.so 0x2bd14250

D/OpenGLRenderer(11156): Flushing caches (mode 1)

D/dalvikvm(11413): Added shared lib /data/data/com.sonyericsson.credentialmanagerservice/lib/libcredential-manager-service.so 0x2bd14250

E/dalvikvm(11413): ERROR: couldn't find native method

E/dalvikvm(11413): Requested: Lcom/sonyericsson/credentialmanagerservice/CredentialManagerService;.initializeJNI:()I

W/dalvikvm(11413): JNI_OnLoad returned bad version (-1) in /data/data/com.sonyericsson.credentialmanagerservice/lib/libcredential-manager-service.so 0x2bd14250

W/dalvikvm(11413): Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lcom/sonyericsson/credentialmanagerservice/CredentialManagerService;

W/dalvikvm(11413): Class init failed in newInstance call (Lcom/sonyericsson/credentialmanagerservice/CredentialManagerService;)

D/AndroidRuntime(11413): Shutting down VM

W/dalvikvm(11413): threadid=1: thread exiting with uncaught exception (group=0x2b542210)

E/AndroidRuntime(11413): FATAL EXCEPTION: main

E/AndroidRuntime(11413): java.lang.ExceptionInInitializerError

E/AndroidRuntime(11413):        at java.lang.Class.newInstanceImpl(Native Method)

E/AndroidRuntime(11413):        at java.lang.Class.newInstance(Class.java:1319)

E/AndroidRuntime(11413):        at android.app.ActivityThread.handleCreateService(ActivityThread.java:2254)

E/AndroidRuntime(11413):        at android.app.ActivityThread.access$1600(ActivityThread.java:127)

E/AndroidRuntime(11413):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)

E/AndroidRuntime(11413):        at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime(11413):        at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime(11413):        at android.app.ActivityThread.main(ActivityThread.java:4441)

E/AndroidRuntime(11413):        at java.lang.reflect.Method.invokeNative(NativeMethod)

E/AndroidRuntime(11413):        at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime(11413):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

E/AndroidRuntime(11413):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)

E/AndroidRuntime(11413):        at dalvik.system.NativeStart.main(Native Method)


E/AndroidRuntime(11413): Caused by: java.lang.NoClassDefFoundError: com/sonyericsson/credentialmanagerservice/CredentialManagerBootCompleteTask

E/AndroidRuntime(11413):        at java.lang.Runtime.nativeLoad(Native Method)

E/AndroidRuntime(11413):        at java.lang.Runtime.loadLibrary(Runtime.java:368)

E/AndroidRuntime(11413):        at java.lang.System.loadLibrary(System.java:535)


E/AndroidRuntime(11413):        at com.sonyericsson.credentialmanagerservice.CredentialManagerService.<clinit>(CredentialManagerService.java:361)

E/AndroidRuntime(11413):        ... 13 more

E/AndroidRuntime(11413): Caused by: java.lang.ClassNotFoundException: com.sonyericsson.credentialmanagerservice.CredentialManagerBootCompleteTask

E/AndroidRuntime(11413):        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)

E/AndroidRuntime(11413):        at java.lang.ClassLoader.loadClass(ClassLoader.java:501)

E/AndroidRuntime(11413):        at java.lang.ClassLoader.loadClass(ClassLoader.java:461)

E/AndroidRuntime(11413):        ... 17 more

D/OpenGLRenderer(11156): Flushing caches (mode 0)

I/Scenic  (11156): com.sonyericsson.scenic.system.helpers.ScenicView.onStop(ScenicView.java:111): onStop



앨범 앱을 사용하던 도중 CredentialManagerService_1_5(이)가 중지되었습니다 라는 오류가 발생하여 logcat으로 확인해보니 위와같은 오류를 발견할 수 있었다. 그래서 위 굵게 쓰여있는 곳에 위치한 파일을 지웠다. 그랬더니 잘 동작한다? 어짜피 libcredential-manager-service.so은 라이브러리 기본 path인 system/lib 상에도 안전하게 저장되어있으니 지워도 상관 없을 것 같았다. 라이브러리 로딩에 대해 찾아보다가 "C++로 만든 코드 안드로이드로 마이그레이션 하기"라는 쉽게 설명된 JNI 개발 문서를 찾았는데 혹시나 해서 링크해놓는다.

댓글

Holic Spirit :: Tistory Edition

design by tokiidesu. powerd by kakao.