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.
Asked
Active
Viewed 730 times
1

nobody
- 19,814
- 17
- 56
- 77

user2107111
- 735
- 1
- 6
- 10
-
You don't happen to have 77742 methods in a single class, do you? – stuXnet Jul 15 '14 at 14:00
-
its actually an external lib. android-4.0.1_r1.jar from grepcode.com – user2107111 Jul 15 '14 at 14:55
1 Answers
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