用eclipse写Android项目,遇见的Dx问题,Ignoring InnerClasses attribute for an anonymous inner class,怎么解决啊

用eclipse写Android项目

遇见了一个问题:
Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.baidu.b.a.i) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is not an inner class.

这一段出现了3次,后面还有:

[2020-08-07 10:51:05 - CampusNavigationAPP] Dx
PARSE ERROR:
[2020-08-07 10:51:05 - CampusNavigationAPP] Dx unsupported class file version 52.0
...while parsing com/baidu/lbsapi/auth/ErrorMessage.class
[2020-08-07 10:51:05 - CampusNavigationAPP] Dx 1 error; aborting
[2020-08-07 10:51:05 - CampusNavigationAPP] Conversion to Dalvik format failed with error 1

网上找过答案,有的说在proguard-rules.pro文件中添加代码:
-keepattributes EnclosingMethod

然后在build.gradle文件中添加:
multiDexEnabled true

但我试过了,还是不行,这个问题已经折磨我两天了,希望大佬帮帮我!!

https://blog.csdn.net/cui130/article/details/52701097

https://blog.csdn.net/androidwubo/article/details/77840558