Fix Android NFC Sample Reference Error

11 Jun


When you try to run Android’s NFC(Near Field Communitcation) demo program, you will probably have issue  compiling the demo.

Issue is in the references.

import com.google.common.base.Charsets;
import com.google.common.base.Preconditions;
import com.google.common.primitives.Bytes;

To fix this issue, you just need to add reference to guavalib.jar file which comes with the SDK .

Tags: , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.