简体   繁体   中英

how to configure app engine sdk for php in eclipse?

I am setting up Google App Engine in my mac mini (Yosemite 10.10.1). I have installed following to set it up.

  • Eclipse LUNA
  • Google App Engine Launcher. It automatically installed App Engine SDK at /usr/local/google_appengine directory.
  • Google plugin for Eclipse 4.4 (LUNA) as said here .

It shows error like "Failed to initialize App Engine SDK..."

已安装App Engine SDK

在此处输入图片说明

What should I do to resolve this error?

I had the same problem on OS X Yosemite for PyDev Eclipse. After I read the Eclipse documentation and some stackoverflow posts , I solved the problem.

  1. Open File > Properties > Resource > Linked Resources on Eclipse
  2. Define GOOGLE_APP_ENGINE as /usr/local/google_appengine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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