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.

Adding Endpoints Support for Android Clients

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.

In order to add Endpoints Support to Android clients, you need the following prerequisites:

  • The latest Google Plugin for Eclipse (GPE)
  • The latest Android Development Tools (This plugin is also available via the GPE install)
  • The latest Google App Engine SDK for Java

There are two ways to create a project with Endpoint support for an Android app:

After you create your project using one of the above methods, you need to Add and Annotate Entities. When you are finished with that, you need to Test and Deploy your backend.

Optionally, you can add support for Google Cloud Messaging to your app, and also authentication.

Note: GCM is automatically generated when you go through either of the Android project creation processes described above. However, you still need to complete some steps (get PROJECT_NUMBER, API_KEY) in order to make CGM fully operational for your app.

Topic Index

Adding Endpoints to your Android App is covered in the following topics:

Send feedback about...

Google Plugin for Eclipse