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,225
  • 16
  • 65
  • 116
Anil M H
  • 3,282
  • 5
  • 33
  • 50

1 Answers1

64

It is a common warning when including jar files.

Use below line in proguard to avoid warning

-keepattributes EnclosingMethod
Sufian
  • 6,225
  • 16
  • 65
  • 116
Arun C
  • 8,985
  • 1
  • 27
  • 42