The Google Plugin for Eclipse is deprecated and will be removed in January 2018. Migrate to Cloud Tools for Eclipse and/or the GWT Eclipse Plugin as soon as possible to avoid disruption.

Creating an Endpoints Backend from an Android Project

The Eclipse ADT plugin required by these instructions is no longer supported per our June 2015 announcement. Android Studio is now the official IDE for Android, so you should migrate your projects to Android Studio as soon as possible. For similar integrations with Cloud Endpoints and App Engine, you can instead use Cloud Tools for Android Studio.

If you have an existing Android app, or if you don't want to to use the App Engine Android Connected Project wizard, you can create an Android project using the ADT Android Application wizard, with support for a App Engine backend.

The following instructions take your through the process of creating a new Android app that inserts “Notes” into an App Engine backend using Endpoints. (If you are using an existing Android app, the process is very similar, but we don't describe it here.)

  1. Create an Android project using the ADT’s Android Application Wizard, and supply the project name (CloudNotes, if you wish to follow the example used in this documentation.) Then click Next to accept the wizard's default values:

  2. Select your Android project, and choose the Generate App Engine Backend option from the Google context menu:

  3. This will open up the Create App Engine Backend for Android dialog:

    You can skip the steps for entering the Project Number and API key, unless you plan on using the generated sample code (described in the App Engine Android Connected Project section).

You are ready to proceed to the next step, creating and annotating entity classes.

Send feedback about...

Google Plugin for Eclipse