Execution failed for task ':app:transformClassesWithMultidexlistForDebug
引用包出现如下问题 :
要不添加 multiDexEnabled true 要不就删除 multiDexEnabled true 就可以解决问题
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> java.lang.UnsupportedOperationException (no error message)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
如果上面两个问题都没有解决,那你看看你的jdk是否为1.8以下的,在1.8以下是不可以调用其他包(包里包含有lambda函数的)
解决方法:更新jdk ,更新sdk,更新开发工具即可