当我运行Android应用程序时,出现以下错误:
Error:error processing C:\Users\EWW037\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.10.0\fec5797a55b786184a537abd39c3fa1449d752d6\log4j-api-2.10.0.jar
java.lang.RuntimeException
* What went wrong:
Execution failed for task ':app:transformClassesWithDexBuilderForDebug'.
> java.lang.RuntimeException (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 9s
该如何解决此错误?请给我适当的解决方案如果我从'com.assemblypayments:spi-client-java:2.1.6'中排除log4j,则在运行时出现错误。因此,我无法从库中排除log4j。
谢谢。