打开NFC模拟器不适用于Android模拟器

时间:2013-07-08 09:19:44

标签: android android-emulator nfc avd open-nfc

我正试图在Android模拟器中模拟NFC卡读取,使用Open NFC v4.5.2为此目的。

我已按照此处指出的所有步骤进行操作:

HOWTO use the NFC Simulator with the Open NFC add-on included in the delivery

我也尝试使用其他StackOverflow帖子(例如thisthis)的说明,但没有成功。

当我启动模拟器时,我无法在Settings->Wireless & networks->NFC中打开NFC,并且NFC控制器模拟器不显示任何活动:

Emulator NFC settings NFC simulator

以下是连接中心的捕获:

Connection Center

有关如何使其发挥作用的任何提示?

修改 以下是我从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计算机。

1 个答案:

答案 0 :(得分:0)

我怀疑它可能依赖于模拟器中Android的图像版本,您是否使用过以下图像(或整套):

http://open-nfc.org/wp/home/downloads/

或来自Google发行版?