β€œFailed to initialize App Engine SDK on path (s)” on eclipse 4.2.2 using Mac OSX Mountain Lion

I have been struggling with this problem all day and will be grateful for the help of this community.

I am trying to run an Android project using the Google App Engine as a backend on eclipse. I got the App Engine installation on the Google Cloud Platform, and now I just need to integrate it with my eclipse of the Android project using Entity and Endpoints. (reading this lesson: https://developers.google.com/eclipse/docs/endpoints-addentities )

After downloading the Google eclipse plugin for eclipse 4.2 in the "Installing new software" section, I get appengine-java-sdk1.8.8 , but in the "Settings" section β†’ Google β†’ AppEngine sdk does not exist. So I tried adding it by setting "(eclipse-path) /plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/)", but it says: Failed to initialize the App Engine SDK in (path to the AppEngine SDK)

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

-Save permissions using chmod -Install Java SE 1.7.0_45 (latest version) and switch the JRE back and forth with 1.6 and 1.7 - checked both Eclipse 3.7 and 4.2.2

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

+7
java android eclipse google-app-engine
source share
3 answers

Here are a few points:

  • Recent App Engine SDKs require JDK 7
  • Make sure you have the latest JDK installed
  • Make sure that there are no 32-bit 64-bit versions of 64-bit versions for the OS, Eclipse, and JDK.
  • Try providing the -vm in the eclipse.ini file.
+1
source share

Make sure you have the appropriate ire and jdk packages, for example jdk-7u45-macosx-x64 and jre-7u45-macosx-x64 , and specify their path in eclipse-> preferences-> java

+1
source share

Make sure the App Engine SDK for Java is installed.

+1
source share

All Articles