views:

418

answers:

2

I have added Jacson libs to my android project and now I am getting such warnings in console:

warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)

I've tried to recompile libs, but it didn't help. Warnings are gone when I remove these libs from project. Everything is working fine on the device, but this annoys me ;)

Do you know any solution? I'm using Eclipse.

+1  A: 

I've tried to recompile libs, but it didn't help.

Meaning you added the Jackson source to your Android project? Usually that will point out the places where it finds problems or otherwise clears up this issue.

CommonsWare
Tried that and Eclipse is not pointing out places with a problem. Previously I have compiled whole project using ant and have added libs I need to my project. Now I have added whole source tree to workspace and referenced it from my project - still the same...
Michal Dymel
just be aware that Jackson is LGPL so you probably don't want to link your source directly with their source unless you want to pollute it. A better option would be to contact their directly and see if they know what the issue is.
locka
A: 

i have similar problem when i add gdata-java-api for google doc v3.0

piyushnp