AndroidStudio编译异常Execution failed for task ‘:app:transformClassesWithDesugarForDebug解决方案

报错信息

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesWithDesugarForDebug'.
> com.android.build.api.transform.TransformException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException

* 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 1s

Execution failed for task ':app:transformClassesWithDesugarForDebug'.
> com.android.build.api.transform.TransformException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException

* 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.

Execution failed for task ':app:transformClassesWithDesugarForDebug'.
> com.android.build.api.t

版权声明:本文为lw_zhaoritian原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。