AnsweredAssumed Answered

PN7150 android 8.1.0 nfc service stop running

Question asked by zhen li on Mar 18, 2020
Latest reply on Mar 29, 2020 by jimmychan

01-01 02:14:49.542 6977 6977 I zygote64: The ClassLoaderContext is a special shared library.
01-01 02:14:49.546 6963 6963 I zygote64: Rejecting re-init on previously-failed class java.lang.Class<com.android.nfc.NfcService$NxpNfcAdapterService>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/nxp/nfc/INxpNfcAdapter$Stub;
01-01 02:14:49.546 6963 6963 I zygote64: at void com.android.nfc.NfcService.<init>(android.app.Application) (NfcService.java:903)
01-01 02:14:49.546 6963 6963 I zygote64: at void com.android.nfc.NfcApplication.onCreate() (NfcApplication.java:66)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.Instrumentation.callApplicationOnCreate(android.app.Application) (Instrumentation.java:1120)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:5755)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.ActivityThread.-wrap1(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1659)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.os.Looper.loop() (Looper.java:164)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6518)
01-01 02:14:49.546 6963 6963 I zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
01-01 02:14:49.546 6963 6963 I zygote64: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
01-01 02:14:49.546 6963 6963 I zygote64: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
01-01 02:14:49.546 6963 6963 I zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.nxp.nfc.INxpNfcAdapter$Stub" on path: DexPathList[[zip file "/system/app/NfcNci/NfcNci.apk"],nativeLibraryDirectories=[/system/app/NfcNci/lib/arm64, /system/app/NfcNci/NfcNci.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
01-01 02:14:49.546 6963 6963 I zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
01-01 02:14:49.546 6963 6963 I zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
01-01 02:14:49.546 6963 6963 I zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
01-01 02:14:49.546 6963 6963 I zygote64: at void com.android.nfc.NfcService.<init>(android.app.Application) (NfcService.java:903)
01-01 02:14:49.546 6963 6963 I zygote64: at void com.android.nfc.NfcApplication.onCreate() (NfcApplication.java:66)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.Instrumentation.callApplicationOnCreate(android.app.Application) (Instrumentation.java:1120)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:5755)
01-01 02:14:49.546 6963 6963 I zygote64: at void android.app.ActivityThread.-wrap1(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
01-01 02:14:49.547 6963 6963 I zygote64: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1659)
01-01 02:14:49.547 6963 6963 I zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
01-01 02:14:49.547 6963 6963 I zygote64: at void android.os.Looper.loop() (Looper.java:164)
01-01 02:14:49.547 6963 6963 I zygote64: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6518)
01-01 02:14:49.547 6963 6963 I zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
01-01 02:14:49.547 6963 6963 I zygote64: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
01-01 02:14:49.547 6963 6963 I zygote64: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
01-01 02:14:49.547 6963 6963 I zygote64:
01-01 02:14:49.547 6963 6963 D AndroidRuntime: Shutting down VM
01-01 02:14:49.548 6963 6963 E AndroidRuntime: FATAL EXCEPTION: main
01-01 02:14:49.548 6963 6963 E AndroidRuntime: Process: com.android.nfc, PID: 6963
01-01 02:14:49.548 6963 6963 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/nfc/NfcService$NxpNfcAdapterService;
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at com.android.nfc.NfcService.<init>(NfcService.java:903)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:66)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1120)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5755)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1659)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6518)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.nfc.NfcService$NxpNfcAdapterService
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at java.lang.VMClassLoader.findLoadedClass(Native Method)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: ... 12 more
01-01 02:14:49.548 6963 6963 E AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/nxp/nfc/INxpNfcAdapter$Stub;
01-01 02:14:49.548 6963 6963 E AndroidRuntime: ... 12 more
01-01 02:14:49.548 6963 6963 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.nxp.nfc.INxpNfcAdapter$Stub" on path: DexPathList[[zip file "/system/app/NfcNci/NfcNci.apk"],nativeLibraryDirectories=[/system/app/NfcNci/lib/arm64, /system/app/NfcNci/NfcNci.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
01-01 02:14:49.548 6963 6963 E AndroidRuntime: ... 12 more

 

What's the reason?

Outcomes