jjzjj

android - 这是什么警告: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute

coder 2023-06-05 原文

我创建了 3 个布局 HDPI 和 MDPI 和 LDPI,我编辑了 xml 文件中的任何一个,在控制台中,它们显示错误:

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.)

最佳答案

这是包含 jar 文件时的常见警告。

在proguard中使用下面的行来避免警告

-keepattributes EnclosingMethod

关于android - 这是什么警告: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17141832/

有关android - 这是什么警告: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute的更多相关文章

随机推荐