Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: This class was probably produced by a broken compiler

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.

like image 240
Michal Dymel Avatar asked May 27 '10 15:05

Michal Dymel


1 Answers

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.

like image 188
CommonsWare Avatar answered Nov 08 '22 06:11

CommonsWare