Proguard issue “Warning:Ignoring InnerClasses attribute for an anonymous inner class”

前端 未结 8 1619
灰色年华
灰色年华 2020-12-08 02:06

I don\'t know how I can describe this issue. I searched a lot, but I didn\'t find any solution.

Also this solution did not help me -keepattributes EnclosingMethod:

相关标签:
8条回答
  • 2020-12-08 03:04

    Adding these lines to proguard-rules.pro file fixed my issue.

    -keepattributes EnclosingMethod
    -keepattributes InnerClasses
    
    0 讨论(0)
  • 2020-12-08 03:06

    I suggest -dontwarn InnerClasses

    0 讨论(0)
提交回复
热议问题