1

My project contains a single lib, but I am getting the error trouble writing output: Too many methods: 77742; max is 65536. By package: as suggested in other posts I deleted -XX:MaxPermSize=1024m from eclipse.ini.

nobody
  • 19,814
  • 17
  • 56
  • 77
user2107111
  • 735
  • 1
  • 6
  • 10

1 Answers1

1

You're trying to package too many methods into a single android application. You'll need to refactor some of your code into plugins, or remove methods you don't use.

Community
  • 1
  • 1
FreeAsInBeer
  • 12,937
  • 5
  • 50
  • 82
  • how do we remove code form external jar file(ie android-4.0.1_r1.jar from grepcode.com). please tell me how to refactor the code. – user2107111 Jul 15 '14 at 15:00