2

I have done several solutions which don't solve this problem for some hours (I am using Eclipse):

dex loader unable to execute dex: method ID not in [0, 0xffff]: 65536

Accepted answer in Unable to execute dex: method ID not in [0, 0xffff]: 65536

and some others

I believe google-play-services.jar is the cause.

How to solve this kind of error?

Community
  • 1
  • 1
Rendy
  • 5,572
  • 15
  • 52
  • 95
  • I faced the same issue many times and there are many possibilities. Something wrong in your layout file, a conflict of `.jar` file that you used,etc. – M D May 20 '15 at 09:03
  • 1
    I believe this more to amount of my methods that exceed 65k since I also have some other jars with total of 9MB + google-play-services – Rendy May 20 '15 at 10:04
  • Your question subject implies you're running out of field ids, not method ids. – JesusFreke May 20 '15 at 17:10
  • But what I could find out there it's caused by exceed amount of method – Rendy May 21 '15 at 02:19
  • For my project also I am getting same error : Conversion to Dalvik format failed: Unable to execute dex: field ID not in [0, 0xffff]: 65536 In my project method count is 55K. – R World Jul 24 '15 at 19:13

0 Answers0