Dex方法索引溢出

时间:2015-08-06 13:42:33

标签: java android gradle

很难让gradlew构建项目。这是我输入./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

有什么想法吗?

谢谢!

0 个答案:

没有答案