warning: Ignoring InnerClasses attribute for an anonymous in

來源:互聯網
上載者:User

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的專欄

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.