gpt4 book ai didi

android - 运行gradle clean显示ProcessLogger失败

转载 作者:行者123 更新时间:2023-12-03 03:30:04 29 4
gpt4 key购买 nike

这之前,最近升级了Android SDK和gradle。

~/app:../gradlew clean uploadHockeyDebugToHockeyApp --stacktrace
WARNING: WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for hockeyDebug as it may be conflicting with the internal version provided by Android.

AILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mobile:clean'.
> Unable to delete directory: /Users/quantum/app/mobile/build/intermediates/exploded-aar

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':mobile:clean'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)

我尝试注释掉

//编译文件('libs / commons-io-2.4.jar')

在我的依赖中,我得到了
UnknownServiceException: No service of type ProgressLoggerFactory available in ProjectScopeServices.

Caused by: org.gradle.internal.service.UnknownServiceException: No service of type ProgressLoggerFactory available in ProjectScopeServices.

最佳答案

请尝试按照other similar questions中的建议自行删除build文件夹。

为此,请先退出Android Studio,然后导航到/Users/quantum/app/mobile/目录并删除build文件夹。

关于android - 运行gradle clean显示ProcessLogger失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39802514/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com