打开NFC模拟器不工作的Andr​​oid模拟器模拟器、工作、NFC、Andr

2023-09-06 02:41:27 作者:封刀令

我想效仿的NFC读卡在Android模拟器,使用Open NFC v4.5.2用于这一目的。

I'm trying to emulate NFC card reading in Android Emulator, using Open NFC v4.5.2 for that purpose.

我也跟着来表示所有步骤:

I have followed all steps indicated here:

HOWTO使用NFC模拟器使用Open NFC插件包含在发货

我也试图与其他StackOverflow的帖子insturctions这种这个或这个,没有成功。

I have also tried with insturctions from other StackOverflow posts such this or this, with no success.

当我启动模拟器,我不能导通NFC的设置 - >无线与网络 - > NFC ,和NFC控制器仿真器不显示任何活动:

When I start the emulator I'm not able to turn-on NFC in Settings->Wireless & networks->NFC, and NFC Controller Simulator doesn't show any activity:

以下是连接的捕捉中心的:

这是我怎样才能使这个任何提示工作?

Any hints on how can I make this to work?

编辑: 以下是我从亚行logcat 得到的输出:

Following is the output I get from 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的计算机上。

I'm working on a Windows 8 Pro machine.

推荐答案

我有怀疑,这可能取决于Android的图像的仿真器内部版本,有你使用的图像(或成套)的:

I have suspicion that it might depend on versions of image of Android inside the emulator, have you used the image (or whole set) from:

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

或谷歌分布?