简体   繁体   中英

“Failed to initialize App Engine SDK at (path)” on eclipse 4.2.2 using Mac OSX Mountain Lion

I have been struggling with this issue all day now and would appreciate some help for this community.

I'm trying to get an Android project started using the Google App Engine as the backend on eclipse. I got the App Engine setup on Google's Cloud Platform and now I just need to integrate it with my Android project eclipse using Entity and Endpoints. (reading this tutorial: https://developers.google.com/eclipse/docs/endpoints-addentities )

After downloading Google's eclipse plugin for eclipse 4.2 under "Install New Software", I obtain the appengine-java-sdk1.8.8 , but under Preferences -> Google -> AppEngine, the sdk is not there. So I tried adding it, putting "(eclipse-path)/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/)" but it says: Failed to initialize App Engine SDK at (Path of AppEngine SDK)

I have been looking for a solution to this issue for all of today and so far, I've tried:

-Changing around permissions with chmod -Installing Java SE 1.7.0_45 (the latest version) and switching the JRE back and forth from 1.6 and 1.7 -tried out both Eclipse 3.7 and 4.2.2

I am running Mac OSX Mountain Lion. Someone please help!

Here are some points:

  • The latest versions of App Engine SDK require JDK 7
  • Make sure that you have the latest version of the JDK too
  • Make sure there is no mismatch of 32-bit v/s 64-bit versions for OS, Eclipse and JDK.
  • Try providing the -vm parameter in the eclipse.ini file.

确保你有匹配的ire和jdk软件包,比如jdk-7u45-macosx-x64 and jre-7u45-macosx-x64并在eclipse-> preferences-> java上设置它们的路径

确保已安装App Engine SDK for Java

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