Android 11 PN7160 integration problem com.nxp.nfc.jar missing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android 11 PN7160 integration problem com.nxp.nfc.jar missing

Jump to solution
2,082 Views
julnisch
Contributor I

Dear nxp support community,

we are currently facing a strange problem.

We are trying to integrate the PN71160 as explained by the "PN7160 Android porting guide".

We added the Kernel Modules and also added the SPI config.

/dev/nxpnfc is created with correct permissions

vendor/etc/init/init.TargetProduct.nfc.rc -> also at the correct location

/system/etc/libnfc-nci.conf -> present with default config

/vendor/etc/libnfc-nxp.conf -> present with default config

/system/lib64/vendor.nxp.nxpnfc@1.0.so -> present

/system/lib64/libnfc_nci_jni.so -> present

/system/lib64/libnfc-nci.so -> present

/vendor/etc/vintf/manifest.xml -> present with nxp nfc content

/system/framework/com.nxp.nfc.jar -> missing!!!

NFC subsystem is crashing fast:

02-03 03:48:25.993 I/NfcService(30139): Starting NFC service
02-03 03:48:25.994 D/AndroidRuntime(30139): Shutting down VM
02-03 03:48:25.995 E/AndroidRuntime(30139): FATAL EXCEPTION: main
02-03 03:48:25.995 E/AndroidRuntime(30139): Process: com.android.nfc, PID: 30139
02-03 03:48:25.995 E/AndroidRuntime(30139): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/nfc/NfcService$NxpNfcAdapterService;
02-03 03:48:25.995 E/AndroidRuntime(30139):     at com.android.nfc.NfcService.<init>(NfcService.java:486)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:66)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6762)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.app.ActivityThread.access$1500(ActivityThread.java:256)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2091)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.os.Handler.dispatchMessage(Handler.java:106)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.os.Looper.loopOnce(Looper.java:201)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.os.Looper.loop(Looper.java:288)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at android.app.ActivityThread.main(ActivityThread.java:7870)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at java.lang.reflect.Method.invoke(Native Method)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-03 03:48:25.995 E/AndroidRuntime(30139):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
02-03 03:48:25.995 E/AndroidRuntime(30139): Caused by: java.lang.ClassNotFoundException: com.android.nfc.NfcService$NxpNfcAdapterService
02-03 03:48:25.995 E/AndroidRuntime(30139):     ... 13 more
02-03 03:48:25.997 W/ActivityManager(  649): Process com.android.nfc has crashed too many times, killing! Reason: crashed quickly
02-03 03:48:25.998 I/Process (30139): Sending signal. PID: 30139 SIG: 9
02-03 03:48:26.024 I/ActivityManager(  649): Process com.android.nfc (pid 30139) has died: pers PER
02-03 03:48:26.024 I/libprocessgroup(  649): Successfully killed process cgroup uid 1027 pid 30139 in 0ms
02-03 03:48:26.025 I/Zygote  (  448): Process 30139 exited due to signal 9 (Killed)
02-03 03:48:26.025 W/ActivityManager(  649): Re-adding persistent process ProcessRecord{1286e22 30139:com.android.nfc/1027}
02-03 03:48:26.027 D/CompatibilityChangeReporter(  649): Compat change id reported: 135634846; UID 1027; state: DISABLED
02-03 03:48:26.050 D/Zygote  (  448): Forked child process 30155
02-03 03:48:26.052 I/ActivityManager(  649): Start proc 30155:com.android.nfc/1027 for restart com.android.nfc
02-03 03:48:26.057 I/Zygote  (30155): seccomp disabled by setenforce 0
02-03 03:48:26.072 I/adbd    (  724): jdwp connection from 30155
02-03 03:48:26.085 D/CompatibilityChangeReporter(30155): Compat change id reported: 171979766; UID 1027; state: ENABLED
02-03 03:48:26.091 W/System  (30155): ClassLoader referenced unknown path: /system/framework/com.nxp.nfc.jar
02-03 03:48:26.096 W/com.android.nf(30155): ClassLoaderContext classpath size mismatch. expected=1, found=0 (PCL[]{PCL[/system/framework/com.nxp.nfc.jar*1713833475]} | PCL[]{PCL[]})
02-03 03:48:26.105 V/GraphicsEnvironment(30155): ANGLE Developer option for 'com.android.nfc' set to: 'default'
02-03 03:48:26.106 V/GraphicsEnvironment(30155): ANGLE GameManagerService for com.android.nfc: false
02-03 03:48:26.106 V/GraphicsEnvironment(30155): Neither updatable production driver nor prerelease driver is supported.
02-03 03:48:26.107 D/NetworkSecurityConfig(30155): No Network Security Config specified, using platform default
02-03 03:48:26.108 D/NetworkSecurityConfig(30155): No Network Security Config specified, using platform default
02-03 03:48:26.118 I/NfcService(30155): Starting NFC service
02-03 03:48:26.119 D/AndroidRuntime(30155): Shutting down VM
02-03 03:48:26.119 E/AndroidRuntime(30155): FATAL EXCEPTION: main
02-03 03:48:26.119 E/AndroidRuntime(30155): Process: com.android.nfc, PID: 30155
02-03 03:48:26.119 E/AndroidRuntime(30155): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/nfc/NfcService$NxpNfcAdapterService;
02-03 03:48:26.119 E/AndroidRuntime(30155):     at com.android.nfc.NfcService.<init>(NfcService.java:486)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:66)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6762)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.app.ActivityThread.access$1500(ActivityThread.java:256)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2091)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.os.Handler.dispatchMessage(Handler.java:106)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.os.Looper.loopOnce(Looper.java:201)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.os.Looper.loop(Looper.java:288)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at android.app.ActivityThread.main(ActivityThread.java:7870)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at java.lang.reflect.Method.invoke(Native Method)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-03 03:48:26.119 E/AndroidRuntime(30155):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
02-03 03:48:26.119 E/AndroidRuntime(30155): Caused by: java.lang.ClassNotFoundException: com.android.nfc.NfcService$NxpNfcAdapterService
02-03 03:48:26.119 E/AndroidRuntime(30155):     ... 13 more
02-03 03:48:26.121 W/ActivityManager(  649): Process com.android.nfc has crashed too many times, killing! Reason: crashed quickly
02-03 03:48:26.122 I/Process (30155): Sending signal. PID: 30155 SIG: 9
02-03 03:48:26.136 I/ActivityManager(  649): Process com.android.nfc (pid 30155) has died: pers PER
02-03 03:48:26.137 I/libprocessgroup(  649): Successfully killed process cgroup uid 1027 pid 30155 in 0ms
02-03 03:48:26.137 W/ActivityManager(  649): Re-adding persistent process ProcessRecord{1286e22 30155:com.android.nfc/1027}
02-03 03:48:26.138 D/CompatibilityChangeReporter(  649): Compat change id reported: 135634846; UID 1027; state: DISABLED
02-03 03:48:26.140 I/Zygote  (  448): Process 30155 exited due to signal 9 (Killed)
02-03 03:48:26.158 D/Zygote  (  448): Forked child process 30171
02-03 03:48:26.159 I/ActivityManager(  649): Start proc 30171:com.android.nfc/1027 for restart com.android.nfc
02-03 03:48:26.166 I/Zygote  (30171): seccomp disabled by setenforce 0
02-03 03:48:26.179 I/adbd    (  724): jdwp connection from 30171
02-03 03:48:26.195 D/CompatibilityChangeReporter(30171): Compat change id reported: 171979766; UID 1027; state: ENABLED
02-03 03:48:26.200 W/System  (30171): ClassLoader referenced unknown path: /system/framework/com.nxp.nfc.jar
02-03 03:48:26.203 W/com.android.nf(30171): ClassLoaderContext classpath size mismatch. expected=1, found=0 (PCL[]{PCL[/system/framework/com.nxp.nfc.jar*1713833475]} | PCL[]{PCL[]})
02-03 03:48:26.209 V/GraphicsEnvironment(30171): ANGLE Developer option for 'com.android.nfc' set to: 'default'
02-03 03:48:26.210 V/GraphicsEnvironment(30171): ANGLE GameManagerService for com.android.nfc: false
02-03 03:48:26.210 V/GraphicsEnvironment(30171): Neither updatable production driver nor prerelease driver is supported.
02-03 03:48:26.210 D/NetworkSecurityConfig(30171): No Network Security Config specified, using platform default
02-03 03:48:26.210 D/NetworkSecurityConfig(30171): No Network Security Config specified, using platform default
02-03 03:48:26.216 I/NfcService(30171): Starting NFC service
02-03 03:48:26.216 D/AndroidRuntime(30171): Shutting down VM
02-03 03:48:26.217 E/AndroidRuntime(30171): FATAL EXCEPTION: main
02-03 03:48:26.217 E/AndroidRuntime(30171): Process: com.android.nfc, PID: 30171
02-03 03:48:26.217 E/AndroidRuntime(30171): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/nfc/NfcService$NxpNfcAdapterService;
02-03 03:48:26.217 E/AndroidRuntime(30171):     at com.android.nfc.NfcService.<init>(NfcService.java:486)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:66)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6762)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.app.ActivityThread.access$1500(ActivityThread.java:256)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2091)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.os.Handler.dispatchMessage(Handler.java:106)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.os.Looper.loopOnce(Looper.java:201)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.os.Looper.loop(Looper.java:288)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at android.app.ActivityThread.main(ActivityThread.java:7870)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at java.lang.reflect.Method.invoke(Native Method)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-03 03:48:26.217 E/AndroidRuntime(30171):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
02-03 03:48:26.217 E/AndroidRuntime(30171): Caused by: java.lang.ClassNotFoundException: com.android.nfc.NfcService$NxpNfcAdapterService
02-03 03:48:26.217 E/AndroidRuntime(30171):     ... 13 more
02-03 03:48:26.218 W/ActivityManager(  649): Process com.android.nfc has crashed too many times, killing! Reason: crashed quickly
02-03 03:48:26.219 I/Process (30171): Sending signal. PID: 30171 SIG: 9
02-03 03:48:26.228 I/Zygote  (  448): Process 30171 exited due to signal 9 (Killed)
02-03 03:48:26.228 I/libprocessgroup(  649): Successfully killed process cgroup uid 1027 pid 30171 in 0ms
02-03 03:48:26.228 I/ActivityManager(  649): Process com.android.nfc (pid 30171) has died: pers PER
02-03 03:48:26.230 W/ActivityManager(  649): Re-adding persistent process ProcessRecord{1286e22 30171:com.android.nfc/1027}
02-03 03:48:26.231 D/CompatibilityChangeReporter(  649): Compat change id reported: 135634846; UID 1027; state: DISABLED
02-03 03:48:26.248 D/Zygote  (  448): Forked child process 30187
02-03 03:48:26.249 I/ActivityManager(  649): Start proc 30187:com.android.nfc/1027 for restart com.android.nfc
02-03 03:48:26.254 I/Zygote  (30187): seccomp disabled by setenforce 0
02-03 03:48:26.264 I/adbd    (  724): jdwp connection from 30187
02-03 03:48:26.277 D/CompatibilityChangeReporter(30187): Compat change id reported: 171979766; UID 1027; state: ENABLED
02-03 03:48:26.281 W/System  (30187): ClassLoader referenced unknown path: /system/framework/com.nxp.nfc.jar
02-03 03:48:26.284 W/com.android.nf(30187): ClassLoaderContext classpath size mismatch. expected=1, found=0 (PCL[]{PCL[/system/framework/com.nxp.nfc.jar*1713833475]} | PCL[]{PCL[]})
02-03 03:48:26.291 V/GraphicsEnvironment(30187): ANGLE Developer option for 'com.android.nfc' set to: 'default'
02-03 03:48:26.291 V/GraphicsEnvironment(30187): ANGLE GameManagerService for com.android.nfc: false
02-03 03:48:26.292 V/GraphicsEnvironment(30187): Neither updatable production driver nor prerelease driver is supported.
02-03 03:48:26.293 D/NetworkSecurityConfig(30187): No Network Security Config specified, using platform default
02-03 03:48:26.293 D/NetworkSecurityConfig(30187): No Network Security Config specified, using platform default
02-03 03:48:26.300 I/NfcService(30187): Starting NFC service
02-03 03:48:26.300 D/AndroidRuntime(30187): Shutting down VM
02-03 03:48:26.301 E/AndroidRuntime(30187): FATAL EXCEPTION: main
02-03 03:48:26.301 E/AndroidRuntime(30187): Process: com.android.nfc, PID: 30187
02-03 03:48:26.301 E/AndroidRuntime(30187): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/nfc/NfcService$NxpNfcAdapterService;
02-03 03:48:26.301 E/AndroidRuntime(30187):     at com.android.nfc.NfcService.<init>(NfcService.java:486)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:66)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6762)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.app.ActivityThread.access$1500(ActivityThread.java:256)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2091)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.os.Handler.dispatchMessage(Handler.java:106)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.os.Looper.loopOnce(Looper.java:201)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.os.Looper.loop(Looper.java:288)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at android.app.ActivityThread.main(ActivityThread.java:7870)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at java.lang.reflect.Method.invoke(Native Method)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-03 03:48:26.301 E/AndroidRuntime(30187):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
02-03 03:48:26.301 E/AndroidRuntime(30187): Caused by: java.lang.ClassNotFoundException: com.android.nfc.NfcService$NxpNfcAdapterService
02-03 03:48:26.301 E/AndroidRuntime(30187):     ... 13 more
02-03 03:48:26.304 W/ActivityManager(  649): Process com.android.nfc has crashed too many times, killing! Reason: crashed quickly
02-03 03:48:26.304 I/DropBoxManagerService(  649): add tag=system_app_crash isTagEnabled=true flags=0x2
02-03 03:48:26.305 I/Process (30187): Sending signal. PID: 30187 SIG: 9
02-03 03:48:26.329 I/ActivityManager(  649): Process com.android.nfc (pid 30187) has died: pers PER
02-03 03:48:26.330 I/libprocessgroup(  649): Successfully killed process cgroup uid 1027 pid 30187 in 0ms
02-03 03:48:26.330 I/Zygote  (  448): Process 30187 exited due to signal 9 (Killed)
02-03 03:48:26.330 W/ActivityManager(  649): Re-adding persistent process ProcessRecord{1286e22 30187:com.android.nfc/1027}
02-03 03:48:26.332 D/CompatibilityChangeReporter(  649): Compat change id reported: 135634846; UID 1027; state: DISABLED
02-03 03:48:26.349 D/Zygote  (  448): Forked child process 30204
02-03 03:48:26.350 I/ActivityManager(  649): Start proc 30204:com.android.nfc/1027 for restart com.android.nfc
02-03 03:48:26.356 I/Zygote  (30204): seccomp disabled by setenforce 0
02-03 03:48:26.368 I/adbd    (  724): jdwp connection from 30204
02-03 03:48:26.387 D/CompatibilityChangeReporter(30204): Compat change id reported: 171979766; UID 1027; state: ENABLED
02-03 03:48:26.399 W/System  (30204): ClassLoader referenced unknown path: /system/framework/com.nxp.nfc.jar
02-03 03:48:26.404 W/com.android.nf(30204): ClassLoaderContext classpath size mismatch. expected=1, found=0 (PCL[]{PCL[/system/framework/com.nxp.nfc.jar*1713833475]} | PCL[]{PCL[]})
02-03 03:48:26.412 V/GraphicsEnvironment(30204): ANGLE Developer option for 'com.android.nfc' set to: 'default'
02-03 03:48:26.413 V/GraphicsEnvironment(30204): ANGLE GameManagerService for com.android.nfc: false
02-03 03:48:26.413 V/GraphicsEnvironment(30204): Neither updatable production driver nor prerelease driver is supported.
02-03 03:48:26.414 D/NetworkSecurityConfig(30204): No Network Security Config specified, using platform default
02-03 03:48:26.414 D/NetworkSecurityConfig(30204): No Network Security Config specified, using platform default
02-03 03:48:26.421 I/NfcService(30204): Starting NFC service
02-03 03:48:26.421 D/AndroidRuntime(30204): Shutting down VM
02-03 03:48:26.422 E/AndroidRuntime(30204): FATAL EXCEPTION: main
02-03 03:48:26.422 E/AndroidRuntime(30204): Process: com.android.nfc, PID: 30204
02-03 03:48:26.422 E/AndroidRuntime(30204): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/nfc/NfcService$NxpNfcAdapterService;
02-03 03:48:26.422 E/AndroidRuntime(30204):     at com.android.nfc.NfcService.<init>(NfcService.java:486)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:66)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6762)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.app.ActivityThread.access$1500(ActivityThread.java:256)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2091)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.os.Handler.dispatchMessage(Handler.java:106)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.os.Looper.loopOnce(Looper.java:201)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.os.Looper.loop(Looper.java:288)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at android.app.ActivityThread.main(ActivityThread.java:7870)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at java.lang.reflect.Method.invoke(Native Method)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-03 03:48:26.422 E/AndroidRuntime(30204):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
02-03 03:48:26.422 E/AndroidRuntime(30204): Caused by: java.lang.ClassNotFoundException: com.android.nfc.NfcService$NxpNfcAdapterService
02-03 03:48:26.422 E/AndroidRuntime(30204):     ... 13 more
02-03 03:48:26.424 W/ActivityManager(  649): Process com.android.nfc has crashed too many times, killing! Reason: crashed quickly
02-03 03:48:26.424 I/DropBoxManagerService(  649): add tag=system_app_crash isTagEnabled=true flags=0x2
02-03 03:48:26.424 V/RescueParty(  649): Disabled because of active USB connection
02-03 03:48:26.425 I/Process (30204): Sending signal. PID: 30204 SIG: 9
02-03 03:48:26.445 I/ActivityManager(  649): Process com.android.nfc (pid 30204) has died: pers PER
02-03 03:48:26.445 I/libprocessgroup(  649): Successfully killed process cgroup uid 1027 pid 30204 in 0ms
02-03 03:48:26.446 I/Zygote  (  448): Process 30204 exited due to signal 9 (Killed)
02-03 03:48:26.447 W/ActivityManager(  649): Re-adding persistent process ProcessRecord{1286e22 30204:com.android.nfc/1027}
02-03 03:48:26.448 D/CompatibilityChangeReporter(  649): Compat change id reported: 135634846; UID 1027; state: DISABLED
02-03 03:48:26.469 D/Zygote  (  448): Forked child process 30221
02-03 03:48:26.470 I/ActivityManager(  649): Start proc 30221:com.android.nfc/1027 for restart com.android.nfc
02-03 03:48:26.478 I/Zygote  (30221): seccomp disabled by setenforce 0
02-03 03:48:26.489 I/adbd    (  724): jdwp connection from 30221
02-03 03:48:26.500 D/CompatibilityChangeReporter(30221): Compat change id reported: 171979766; UID 1027; state: ENABLED
02-03 03:48:26.504 W/System  (30221): ClassLoader referenced unknown path: /system/framework/com.nxp.nfc.jar
02-03 03:48:26.507 W/com.android.nf(30221): ClassLoaderContext classpath size mismatch. expected=1, found=0 (PCL[]{PCL[/system/framework/com.nxp.nfc.jar*1713833475]} | PCL[]{PCL[]})
02-03 03:48:26.514 V/GraphicsEnvironment(30221): ANGLE Developer option for 'com.android.nfc' set to: 'default'
02-03 03:48:26.515 V/GraphicsEnvironment(30221): ANGLE GameManagerService for com.android.nfc: false
02-03 03:48:26.515 V/GraphicsEnvironment(30221): Neither updatable production driver nor prerelease driver is supported.
02-03 03:48:26.517 D/NetworkSecurityConfig(30221): No Network Security Config specified, using platform default
02-03 03:48:26.518 D/NetworkSecurityConfig(30221): No Network Security Config specified, using platform default
02-03 03:48:26.529 I/NfcService(30221): Starting NFC service
02-03 03:48:26.530 D/AndroidRuntime(30221): Shutting down VM
02-03 03:48:26.531 E/AndroidRuntime(30221): FATAL EXCEPTION: main
02-03 03:48:26.531 E/AndroidRuntime(30221): Process: com.android.nfc, PID: 30221
02-03 03:48:26.531 E/AndroidRuntime(30221): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/nfc/NfcService$NxpNfcAdapterService;
02-03 03:48:26.531 E/AndroidRuntime(30221):     at com.android.nfc.NfcService.<init>(NfcService.java:486)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:66)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6762)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.app.ActivityThread.access$1500(ActivityThread.java:256)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2091)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.os.Handler.dispatchMessage(Handler.java:106)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.os.Looper.loopOnce(Looper.java:201)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.os.Looper.loop(Looper.java:288)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at android.app.ActivityThread.main(ActivityThread.java:7870)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at java.lang.reflect.Method.invoke(Native Method)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-03 03:48:26.531 E/AndroidRuntime(30221):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
02-03 03:48:26.531 E/AndroidRuntime(30221): Caused by: java.lang.ClassNotFoundException: com.android.nfc.NfcService$NxpNfcAdapterService
02-03 03:48:26.531 E/AndroidRuntime(30221):     ... 13 more
02-03 03:48:26.534 W/ActivityManager(  649): Process com.android.nfc has crashed too many times, killing! Reason: crashed quickly
02-03 03:48:26.534 I/DropBoxManagerService(  649): add tag=system_app_crash isTagEnabled=true flags=0x2
02-03 03:48:26.535 I/Process (30221): Sending signal. PID: 30221 SIG: 9
02-03 03:48:26.560 I/ActivityManager(  649): Process com.android.nfc (pid 30221) has died: pers PER
02-03 03:48:26.560 I/libprocessgroup(  649): Successfully killed process cgroup uid 1027 pid 30221 in 0ms
02-03 03:48:26.561 I/Zygote  (  448): Process 30221 exited due to signal 9 (Killed)
02-03 03:48:26.561 W/ActivityManager(  649): Re-adding persistent process ProcessRecord{1286e22 30221:com.android.nfc/1027}
02-03 03:48:26.562 D/CompatibilityChangeReporter(  649): Compat change id reported: 135634846; UID 1027; state: DISABLED
^C

 

we are quite stuck here

0 Kudos
Reply
1 Solution
2,058 Views
julnisch
Contributor I

okay i think we found the problem.

https://github.com/NXPNFCLinux/nxpnfc_android12/blob/95c8cb27ffa05c694936ac92a28b53d7fa6df95a/device...

-com.nxp.nfc.jar \

+com.nxp.nfc \

library name is without the extention

 

 

 

View solution in original post

1 Reply
2,059 Views
julnisch
Contributor I

okay i think we found the problem.

https://github.com/NXPNFCLinux/nxpnfc_android12/blob/95c8cb27ffa05c694936ac92a28b53d7fa6df95a/device...

-com.nxp.nfc.jar \

+com.nxp.nfc \

library name is without the extention