简一_hz 2016-04-05 10:04 采纳率: 48.6%
浏览 1468

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 企业官方账号 2016-04-05 16:28
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?