jj-aa
jj-aa

Reputation: 1039

how to run nfc demo sample

I'm trying to run the nfc demo sample from Android SDK in eclipse with the import error com.google cannot be resolved. I have the package Android 2.3.3 (API 10) complete installed, including the "Google API" and also the package of tools under linux 64

I followed these steps:

Changing project properties target to Google APIs don't fix the issue.

What's wrong?

Thanks in advance

Upvotes: 0

Views: 3441

Answers (2)

Zaineb
Zaineb

Reputation: 11

You just have to add "guavalib.jar". You can do that by the following steps: Right click on project NFCDemo->Build Path->configure build path->libraries->add external JARS->(browse to) android sdk->tools->select "guavalib.jar". Click on OK. Then run the NFCDemo app.... its ready to go!

Upvotes: 1

robertly
robertly

Reputation: 2132

You might need these libraries:

http://code.google.com/p/guava-libraries/

We plan on shipping them with the SDK at some point I believe. Sorry that this was not mentioned in the SDK documentation.

Upvotes: 2

Related Questions