eclipse 打包android工程时报错,尝试了几种解决办法未能解决,特向各位好心的大神请教 5C

报错如下:
Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.baidu.location.o$1) 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.
请问这个错误如何解决呢?

0

4个回答

可能是65535问题,找支持多dex方法

1
1

重新搭建环境,以解决问题。

0

可以看看这个 eclipse 分包的 转自 https://www.cnblogs.com/liemng/p/5982221.html

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!