我正进入(状态
com.google.cloud.tools.managedcloudsdk.ManagedSdkVerificationException: com.google.cloud.tools.managedcloudsdk.command.CommandExitException: Process failed with exit code: 1
我尝试更新intellij和Google云插件。该任务属于
App Engine Flexible environment tasks > downloadCloudSdk - Download the Cloud SDK
为我的项目。
使用--info标志获取更多日志,我得到
> Task :appengine-backend:downloadCloudSdk FAILED
Putting task artifact state for task ':appengine-backend:downloadCloudSdk' into context took 0.0 secs.
Up-to-date check for task ':appengine-backend:downloadCloudSdk' took 0.0 secs. It is not up-to-date because:
Task has not declared any outputs.
:appengine-backend:downloadCloudSdk (Thread[Task worker for ':',5,main]) completed. Took 0.349 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':appengine-backend:downloadCloudSdk'.
> com.google.cloud.tools.managedcloudsdk.ManagedSdkVerificationException: com.google.cloud.tools.managedcloudsdk.command.CommandExitException: Process failed with exit code: 1
有人可以建议出什么问题吗?
最佳答案
发生这种情况是因为未正确安装google cloud sdk。因此,我删除了cloud sdk并重新安装了它。之后,我意识到我的gcloud配置设置不正确,所以我重新配置了该配置,即使其达到了项目预期的状态。这些步骤为我解决了这个问题。
关于google-app-engine - 在我的子项目中执行Appengine的downloadCloudSdk任务时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52535556/