Creating an AVD image with Google APIs is a bit more complex than just having the packages available (which we do).
We just tested with a new project and this should work - delete the Create Android Emulator step and replace it with a Script step:
#!/bin/bash
set -e
set -x
echo y | android update sdk --no-ui --all --filter addon-google_apis-google-22
echo y | android update sdk --no-ui --all --filter sys-img-armeabi-v7a-addon-google_apis-google-22
echo no | android create avd --force --name test --target "Google Inc.:Google APIs:22" --tag google_apis --abi armeabi-v7a
The name of the configuration this script creates is
test
(the--name
parameter). Use can use this name directly in other Steps/scripts, or just change the--name
parameter to anything you like.