我正试图在Android模拟器中模拟NFC卡读取,使用Open NFC v4.5.2为此目的。
我已按照此处指出的所有步骤进行操作:
HOWTO use the NFC Simulator with the Open NFC add-on included in the delivery
我也尝试使用其他StackOverflow帖子(例如this或this)的说明,但没有成功。
当我启动模拟器时,我无法在Settings->Wireless & networks->NFC
中打开NFC,并且NFC控制器模拟器不显示任何活动:
以下是连接中心的捕获:
有关如何使其发挥作用的任何提示?
修改
以下是我从adb logcat
获得的输出:
W/Settings( 381): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Trace ( 447): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 447): Unexpected value from nativeGetEnabledTags: 0
I/NfcService( 381): Enabling NFC
I/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp( 381): com_and
roid_nfc_NfcManager_initialize
E/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp( 381): can't i
nitialize NFC Manager
W/NfcService( 381): Error enabling NFC
我正在使用Windows 8 Pro计算机。
答案 0 :(得分:0)