这个工作之前,最近升级了Android SDK & gradle。运行gradle clean显示ProcessLogger失败
~/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)
我试着注释掉
//编译文件( '库/公地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.
您的项目是多项目还是单项目构建? –