警告:此类可能是由一个破碎的编译器产生 [英] Warning: This class was probably produced by a broken compiler

查看:139
本文介绍了警告:此类可能是由一个破碎的编译器产生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经加入Jacson库到我的Andr​​oid项目,现在我在控制台收到这样的警告:

  

警告:忽略InnerClasses属性匿名内部类   不来与相关的EnclosingMethod属性。 (这个类   可能是由一个破碎的编译器产生的。)

我试图重新编译库,但它并没有帮助。都走了警告,当我从项目中删除这些库。一切正常的设备上,但是这让我很烦;)

你知道有什么解决办法?我使用的Eclipse。

解决方案
  

我试图重新编译库,但它   没有帮助。

这意味着你加入了杰克逊源到你的Andr​​oid项目?通常会指出哪里发现问题或以其他方式清除了这个问题的地方。

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.

解决方案

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.

这篇关于警告:此类可能是由一个破碎的编译器产生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆