Re: [android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-22 Thread Ricardo Amaral
That's what I keep being told but how can I still use Eclipse and execute debug/run builds within the IDE and still run Proguard? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-22 Thread Mark Murphy
I presume that there's a recipe for that, though I do not know what it is. The right answer to your problem (the application architecture should probably be restructured) is one you discarded. Any solution to work around this problem temporarily may come with side effects, such as having to drop

[android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-21 Thread Ricardo Amaral
My team and I have inherited a large Android project from another team. The whole application with all the included libraries is reported to have around 35000 methods. We now have the task to implement a new service in the app where we need to use Protocol Buffers. The problem is that the

Re: [android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-21 Thread Mark Murphy
ProGuard should get rid of many of the protobuf methods. http://stackoverflow.com/questions/15508477/android-my-application-is-too-large-and-gives-unable-to-execute-dex-method-id On Thu, Mar 21, 2013 at 6:51 PM, Ricardo Amaral mas...@ricardoamaral.net wrote: My team and I have inherited a large