2 u011249920 u011249920 于 2016.04.05 18:04 提问

eclipse add第三方jar后编译报超限错误

错误信息:
Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$2) 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.
[2016-04-05 18:00:05 - Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536
[2016-04-05 18:00:05 - ] Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536
求较方便的解决办法。。网上的基本都试过了,还是会有问题

1个回答

bruse_android
bruse_android   2016.04.06 00:28

ithout specifying any "-target" type options.
target的版本改成19试一下

u011249920
u011249920 试过了,不行。。仍旧一样的错误
一年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!