德里斯Bounouar解決方案真正幫助你建立你的項目,但您的應用程序可以實現它之後的一些地方崩潰,我認爲它實際上在編譯時抑制問題。
的錯誤,我漸漸在控制檯是: -
Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536
Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536
[2014-11-08 15:51:58 - MLBPA] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(jnamed$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, 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.
[2014-11-08 15:51:58 - MLBPA] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(jnamed$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.
[2014-11-08 15:51:58 - MLBPA] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(jnamed$3) 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.
[2014-11-08 15:51:59 - MLBPA] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.xbill.DNS.UDPClient$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, 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.
根據這個跟蹤我曾試圖重新編譯我的所有項目相同,最新的編譯器,但我仍然沒有得到任何成功。
後來與舊的一個更換最新谷歌Play業務固定我的問題。
我已經更新了我的谷歌播放服務幾個小時前,並開始得到這個錯誤後。
編輯
要了解你應該看看Building Apps with Over 65K Methods在我們的情況下,它看起來像老谷歌Play業務有較少數量的方法,因此該項目已成功編制的實際問題。
簡要
我們整個項目被編譯成具有65K方法限制一個DEX文件。但是現在你可以在你的項目中啓用multidex文件。 到目前爲止可用的解決方案只能用於GRADLE(Android Studio),我還沒有找到任何方式使它在Eclipse上工作。
的可能的複製[無法執行DEX:不\ [0,爲0xFFFF \]方法ID:65536](http://stackoverflow.com/questions/15209831 /無法執行dex-method-id-not-in-0-0xffff-65536) – bummi 2016-03-14 08:32:44