D8: java.lang.IllegalArgumentException
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:mergeDexDebug’.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
java.lang.StackOverflowError (no error message)
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 10s
Exception: Gradle task assembleDebug failed with exit code 1
在build.gradle中开启:
defaultConfig {
multiDexEnabled true
}