无法加载在Android平台的开放式NFC插件 [英] Failed to load open-nfc addon in android platform

查看:333
本文介绍了无法加载在Android平台的开放式NFC插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是第一次,我正在开放式NFC 。正如%的官方文档我创造了新的 AVD 与Open NFC版作为目标。

This is the first time, I am working onopen-nfc. As per official documentation I created new avd with Open NFC edition as target.

现在按第5步,我切换到平台工具然后跑去 ADB设备。它显示

Now as per 5th step, I switch to platform-tools and then ran adb devices. it's showing

 List of devices attached
 emulator-5554 device

后跑到下一个命令 ADB拉/数据/ connection_center_access ,它的投掷远程对象'/数据/ connection_center_access'不存在

这哪里,我卡住了。

对此,我看到这个视频,他们不建议修改任何东西,所以没有做第5步,直接我跳到7步,当我尝试打开连接中心它扔加载存档<时出错/ code>。

Regarding this, I seen this video, they are not suggesting to modify any thing, so without doing 5th step, directly I jump to 7th step, When I try to open Connection Center It's throwing An error occured while loading the archive.

我想,这是因为第5步的问题。

I think, it's because of 5th step problem.

我想从最近1天算起来,任何人都可以帮助我。

I trying to figure it out from last 1 day,can anyone help me.

感谢

推荐答案

我刚刚花了几个小时试图让OpenNFC工作,因为我需要它。我注意到了一些东西,希望这些可以帮助你:

I've just spent a couple of hours trying to make OpenNFC Work, as I needed it too. I noticed a few things, hope those can help you:

1 - 检查你的Andr​​oid SDK管理器;在OpenNFC包错过所需的文件,source.properties。你必须创建它,但如果你不正确的价值观填补它也没用。有点艰难之后,我发现,这正常工作:

1 - Check your Android SDK Manager; the OpenNFC package miss a required file, source.properties. You have to create it, but if you don't fill it with the right values it's useless. After a bit of trying, I've found that this works correctly:

Addon.NameDisplay=addon-2013-02-28_android-4.2.1_r1_OpenNFC_4.5.2  
Addon.NameId=OpenNFC_4.5.2  
Addon.VendorId=OpenNFC
Addon.VendorDisplay=OpenNFC
AndroidVersion.ApiLevel=17
Archive.Os=ANY
Archive.Arch=ANY
Pkg.Revision=1

2 - 检查您的AVD它的真正目标定位的OpenNFC形象。文件说:之所以选择对应的打开NFC版的目标,但没有手段来创造一个AVD针对相同的API级别的NFC包(正是我首先做了),相反,你应该选择的目标匹配Addon.NameDisplay你放在source.properties。

2 - Check that your AVD it's really targetting the OpenNFC image. Documentation says "chose the Target corresponding to the Open NFC edition", but that not means to create an AVD targeting the same api level as the NFC package (exactly what I did in the first place), instead you should choose as target the matching Addon.NameDisplay that you put in the source.properties.

文件数据/ connection_center_access是驻留只在OpenNFC自定义图像的特定和自定义文件;如果亚行拉无法找到它,你正在运行一个错误的图像,而不是OpenNFC之一。

File data/connection_center_access is a specific and custom file that reside only on OpenNFC custom image; if adb pull cannot find it, you are running a wrong image, not OpenNFC one.

3 - 如果您在Windows系统上运行,并有UAC设置,记得要在管理模式推出连接中心;(右点击 - >等等等等。)文档完全忘了说。

3 - If you are running on a windows system and have UAC set, remember to launch Connection Center in administrative mode (right click->etc. etc.); documentation totally forget to say that.

这篇关于无法加载在Android平台的开放式NFC插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆