Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
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.
出現這個問題的願意很簡單。
就是android sdk tools版本過低,升級一下就可以了
但是在3.5的eclipse裡面進行升級會遇到問題,如果升級到最新的version 16,則會出現錯誤:
adt版本過低,和sdk tools不相容的情況,如果要升級ADT(最新的是16.0.0了),則又提示eclipse版本過低,所以成了一個死迴圈,
解決辦法:
1,sdk 還是升級
2,下載ADT 14.0.0版本 (這個版本對eclipse的要求3.5就夠了,而且正好能夠解決sdk升級的問題)
路徑:http://ishare.iask.sina.com.cn/f/20743747.html?from=like
3,安裝上adt 即可
Help------Install New software
裝完重啟,問題解決
摘自 whitetao的專欄