Example using Kotlin in App Engine and Android
Install Google Cloud
curl https://sdk.cloud.google.com | bash
Install Google App Engine Component
gcloud components install app-engine-java
Deploy local instance:
./gradlew appengineRun
Install Cloud Datastore Emulator
gcloud components install cloud-datastore-emulator
Run Datastore Emulator
gcloud beta emulators datastore start
Create project Google Cloud
gcloud auth login
gcloud config set project PROJECT_ID
./gradlew appengineDeploy
For the Android App there are two flavours:
local
: it uses the local instance of App Engine: http://10.0.2.2:8080
gae
: it uses the remote instance of App Engine: https://PROJECT_ID.appspot.com