這個工作之前,最近升級了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.
您的項目是多項目還是單項目構建? –