Skip to content Skip to sidebar Skip to footer

Failed To Load Open-nfc Addon In Android Platform

This is the first time, I am working onopen-nfc. As per official documentation I created new avd with Open NFC edition as target. Now as per 5th step, I switch to platform-tools an

Solution 1:

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 - 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.2Addon.NameId=OpenNFC_4.5.2Addon.VendorId=OpenNFC
Addon.VendorDisplay=OpenNFC
AndroidVersion.ApiLevel=17Archive.Os=ANY
Archive.Arch=ANY
Pkg.Revision=1

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.

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 - 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.

Post a Comment for "Failed To Load Open-nfc Addon In Android Platform"