每次我尝试在 android studio 中运行程序时,我都会遇到 Gradle 错误。我相信这个错误是由于我在 Gradle 加载某些内容时关闭了 android studio 而导致的,它没有完成其任务。我在网上看到一些人的建议.\gradlew --stop似乎不起作用。有人遇到过同样的问题吗?
> Cannot create service of type BuildTreeActionExecutor using method LauncherServices$ToolingBuildTreeScopeServices.createActionExecutor() as there is a problem with parameter #1 of type List<BuildActionRunner>.
> Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal().
> Timeout waiting to lock journal cache (C:\Users\User\.gradle\caches\journal-1). It is currently in use by another Gradle instance.
Owner PID: 5916
Our PID: 30496
Owner Operation:
Our operation:
Lock file: C:\Users\User\.gradle\caches\journal-1\journal-1.lock
* Try:
Run with --info …Run Code Online (Sandbox Code Playgroud)