When running the app, the system's NFC functionality automatically turns off, and it cannot be manually enabled.
os system: android 8.1.0
2023-10-08 15:32:08.240 1691-3134 zygote com.android.nfc A runtime.cc:524] Runtime aborting...
2023-10-08 15:32:08.241 1691-3134 zygote com.android.nfc A runtime.cc:524] Dumping all threads without appropriate locks held: thread list lock mutator lock
2023-10-08 15:32:08.241 1691-3134 zygote com.android.nfc A runtime.cc:524] All threads:
2023-10-08 15:32:08.241 1691-3134 zygote com.android.nfc A runtime.cc:524] DALVIK THREADS (17):
2023-10-08 15:32:08.241 1691-3134 zygote com.android.nfc A runtime.cc:524] "applyRouting" prio=5 tid=13 Runnable
2023-10-08 15:32:08.241 1691-3134 zygote com.android.nfc A runtime.cc:524] | group="" sCount=0 dsCount=0 flags=0 obj=0x12c4af68 self=0xa0af5800
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] | sysTid=3134 nice=0 cgrp=default sched=0/0 handle=0x8f51c970
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] | state=R schedstat=( 27245192 270116 6 ) utm=1 stm=1 core=3 HZ=100
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] | stack=0x8f41a000-0x8f41c000 stackSize=1038KB
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] | held mutexes= "abort lock" "mutator lock"(shared held)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #00 pc 002ecd87 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)+130)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #1 pc 00380075 /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+204)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #2 pc 0037c5af /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+34)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #03 pc 00394541 /system/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+684)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #04 pc 0038e05f /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+322)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #05 pc 0038db4f /system/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool)+542)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #06 pc 0036cf17 /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&) const+210)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #07 pc 00361877 /system/lib/libart.so (art::Runtime::Abort(char const*)+142)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #08 pc 0042225d /system/lib/libart.so (android::base::LogMessage::~LogMessage()+452)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #09 pc 00281061 /system/lib/libart.so (art::JNI::FatalError(_JNIEnv*, char const*)+120)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #10 pc 000145d7 /system/lib/libnfc_nci_jni.so (???)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] native: #11 pc 0000077d /data/dalvik-cache/arm/system@app@NfcNci@[email protected] (Java_com_android_nfc_dhimpl_NativeNfcManager_doAbort__Ljava_lang_String_2+92)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] at com.android.nfc.dhimpl.NativeNfcManager.doAbort(Native method)
2023-10-08 15:32:08.243 1691-3134 zygote com.android.nfc A runtime.cc:524] at com.android.nfc.NfcService$WatchDogThread.run(NfcService.java:2191)