S-K'
S-K'

Reputation: 3209

Google API Level 18 emulator "This app won't run unless you update Google Play services"

I am running an emulator with Google API level 18 but whenever I open my google maps based application I get the error message "This app won't run unless you update Google Play services".

How can I get google play services to run on my emulator? I have looked at other stackoverflow questions but they say to use the latest API, which I already am.

EDIT: It is worth noting i am using the support library

EDIT: Screenshot of my emulator setup:

enter image description here

Upvotes: 1

Views: 4865

Answers (4)

user1923613
user1923613

Reputation: 636

On a device, you need to have Google Play Services intalled. I'm not sure if it's possible to have it installed on an emulator. You can try searching for workarounds. But I've had this problem before, I just ended up using a real device.

Upvotes: 0

danik
danik

Reputation: 856

You should create emulator with target version Google APIs - API level 18, start it and add Google account (System settings - Add account - Google)

Upvotes: 1

bofredo
bofredo

Reputation: 2348

i had the same problem once as i tried to feed my app with dummy-locationdata via emulator.

There is still no map-support for the emulator, though you can workaround and get it running the hard way!

in my eyes, best tutorial for your purpose is THIS TUTORIAL.

Upvotes: 0

Pavlos
Pavlos

Reputation: 2181

You need to setup an emulator with the API level you need + the Google API! For every API level there are 2 version of ROM! One with Google APIs and one without! If you choose the first you will be ok to run any app that uses Google Play Services!

Upvotes: 2

Related Questions