简体   繁体   English

Linux中的Eclipse上的“ Cloud SDK missing”错误

[英]“Cloud SDK missing” error on Eclipse in Linux

I'm getting an error on Eclipse Oxygen running on Linux when I try to create a Google App Engine project. 尝试创建Google App Engine项目时,在Linux上运行的Eclipse Oxygen上出现错误。 I've installed the Google SDK and I can run gcloud from the terminal. 我已经安装了Google SDK,并且可以从终端运行gcloud。 But I can't create an App Engine Eclipse project because Eclipse can't find the Cloud SDK. 但是我无法创建App Engine Eclipse项目,因为Eclipse找不到Cloud SDK。 I'm supposed to set the location in the Google Cloud Platform preferences. 我应该在Google Cloud Platform偏好设置中设置位置。 But where are these preferences located in Eclipse? 但是这些首选项在Eclipse中位于何处?

I found how to change it. 我找到了如何更改它。 I had to go to Window » Preferences and under the Google Cloud Tools tab, I could change the directory of the SDK location. 我必须转到Window » Preferences,然后在Google Cloud Tools标签下,可以更改SDK位置的目录。 In my case, the SDK location directory was incorrect, causing this error. 就我而言,SDK位置目录不正确,导致此错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM