面向强制关闭,问题出在InnerClasses属性中

时间:2011-02-04 12:29:01

标签: android

我构建了一个API,并且面临着一个靠近它的力量,这是我在控制台端获得的以下警告。

[2011-02-04 17:49:05 - RMALiteTesting] 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.)

1 个答案:

答案 0 :(得分:2)

这可能来自您添加到项目中的第三方JAR文件。

如果JAR文件来自开源项目,请删除JAR并将项目源代码添加到项目中。或者,为该源代码创建一个单独的项目,使用您自己的Java编译器为您构建一个干净的JAR。