This project is an Android native client sample for Mobile Backend Starter that works with AndroidStudio.
Disclaimer: This is not an official Google Product.
These instruction list only the key steps. For detailed setup instructions and documentation visit the [Google App Engine developer site] (https://developers.google.com/cloud/samples/mbs).
-
Make sure you have the Android SDK with Google APIs level 15 or above installed.
-
Import the project into Android Studio (File -> Open).
-
In Android Studio, select
MobileBackendmodule, then generate the client libraries (Tools -> Google Cloud Tools -> Install Client Libraries). -
Update the value of
PROJECT_IDinmobile-backend-starter-android-client-core/src/main/java/com/google/cloud/backend/core/Consts.javato the app_id of your deployed Mobile Backend 5. Make sure that your Mobile Backend is configured with OPEN mode. Also update yourPROJECT_NUMBERandWEB_CLIENT_IDwith the values from your console project. -
Run the application.