---
title: "Dx warning: Ignoring InnerClasses attribute for an anonymous inner class"
author: "terryzz"
date: "2012-07-26T11:21:05Z"
tags: []
categories: ["移动开发"]
slug: "dx-warning-ignoring-innerclasses-attribute-for-an-anonymous-inner-class"
draft: false
lastmod: "2012-07-27T09:37:40Z"
id: 1607696
url: "https://terryzz.iteye.com/blog/1607696"
---

Q: Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.htmlparser.util.NodeList$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, 

  
A: g了很久也没有找到很好的解决方案，最后终于解决了，SDK Tools从20降19吧！

 <span style="color:red">  发现昨天我是同时换了Eclipse和SDK Tools,结果发现是Eclipse版本的问题！
    本人的Eclipse是3.7.2, 最后我升级了4.2junno很华丽！
</span>