很难让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
有什么想法吗?
谢谢!