Forum Replies Created
-
Re: Reply To: Mifare Lite App with Android Studio
5. September 2015 at 17:50 in reply to: Mifare Lite App with Android StudioFound the solution to the problem I listed above!
The library was in the wrong folder.
I can confirm now that the sample app works under Android Studio 1.3.2, and I tested it on a Samsung Galaxy.
The only issue I've found is that NXP NTAG216 tags don't get recognized as such. They appear as 203 tags, and I don't know why.
Has anyone any hints on how to fix it?
+ 0 | - 0
Re: Reply To: Mifare Lite App with Android Studio
5. September 2015 at 14:35 in reply to: Mifare Lite App with Android StudioStill a few errors with "package com.nxp.nfclib.classic does not exist".
Hi David and NXP Team,
Thanks for the update and big thanks to NXP for adding the Android Studio chapter!
Whilst trying to load the sample app (import) and after following the instructions about adding the new dependency with
dependencies {
compile files (“libs/nxpnfcliblite.jar”)
}
I get lots of (very similar) error messages which refer to com.nxp.nfclib:
C:\Users\Robert\AndroidStudioProjects\SampleNxpNfcLibLite7\app\src\main\java\com\nxp\sampleliblite\MainLiteActivity.java
Error:(55, 30) error: package com.nxp.nfclib.classic does not exist
Error:(56, 33) error: package com.nxp.nfclib.exceptions does not exist
Jumping into MainLiteActivity.java brings up a "can't resolve symbol nfclib" when the cursor is on:
import com.nxp.nfclib.classic.IMFClassic;
Is this an error due to the different versions (nxpnfcliblite.jar vs nxpnfclib.jar)?
I'm using Android Studion 1.3.2 and I'd appreciate if someone could explain what I doing wrong and how to resolve the issue.
Many thanks in advance!
Rob
+ 0 | - 0
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)