0

My app has crossed maximum limit of methods i.e. 65536 methods.

In my application I have used 16 jar files ans 4 library projects.

What I already done(which is not working):

  1. Common out all jars from my application and library projects.
  2. Kept a common android support library.
  3. Removed android dependencies.
  4. Used jars externally.

I don't want to create multiple apk for my application, is there any other idea achieving this.

Akhilesh Mani
  • 3,396
  • 5
  • 26
  • 55

1 Answers1

1

If you have some time - in this podcast:

http://androidbackstage.blogspot.de/2014/08/android-developers-backstage-episode-11.html

it is mentioned that there will be an official solution to this in the future (multi-dex)

there are some workarounds around today - but AFAIK all of them are kind of hacky

ligi
  • 37,862
  • 40
  • 132
  • 234