38

I created the 3 layouts HDPI and MDPI and LDPI and I edit the any one of xml file, in console, they show the error:

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

Sufian
  • 6,405
  • 16
  • 66
  • 120
Anil M H
  • 3,332
  • 5
  • 34
  • 51

1 Answers1

64

It is a common warning when including jar files.

Use below line in proguard to avoid warning

-keepattributes EnclosingMethod
Sufian
  • 6,405
  • 16
  • 66
  • 120
Arun C
  • 9,035
  • 2
  • 28
  • 42