2

it's getting hard to get gradlew build the project. This is what I get when I type ./gradlew build:

Not converting this method
Unexpected error while editing code:
  Class       = [Lnet/danlew/android/joda/DateUtils;]
  Method      = [toMillis JL]
  Exception   = [java.lang.IllegalArgumentException] (Dex method index overflow [67472])
:app:dexguardDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dexguardDebug'.
> Dex method index overflow [67472]

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3 mins 4.795 secs

Any ideas?

Thanks!

srus
  • 319
  • 2
  • 8
  • 1
    try this dexOptions { jumboMode = true } – Anirudh Sharma Aug 06 '15 at 13:43
  • 1
    possible duplicate of [How to enable multidexing with the new Android Multidex support library](http://stackoverflow.com/questions/26609734/how-to-enable-multidexing-with-the-new-android-multidex-support-library) – RamBabu Pudari Aug 06 '15 at 13:44
  • What's the conclusion? Is it the same problem? (method count limit reached, solution - MultiDex) – Stan May 20 '16 at 07:41

0 Answers0