简体   繁体   中英

Android emulator with google play services

I created an android emulator to test google play services, with the google apis 4.2.2 or greater like this article said https://developers.google.com/android/guides/setup , but only google maps services is available, and the game I am testing claims for google play services. I am missing something?

You can refer google play services in 4.2.2 emulator

And I will suggest you to use Genymotion instead of using android default emulator. It is like virtual phone and you can also add Gapps in it as well as download any app from Google Play, same as android device.

Genymotion and you can download google apps based on your virtual device version from this Genymotion Gapps link

You have to run an emulator with Target: Google API´s AVD经理

Also be sure of compile this:

compile 'com.google.android.gms:play-services:8.3.0'

(Lastest version of google play services) If it doens't run, check for the verion of google play services on the emulator and change the version to compile.

Start SDK Manager . Check APIs in android version you create emulator and install it . Open SDK folder/system-images and delete the emulator image. Start Emulator Manager and dowload new image with api . Start new emulator and it fixed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM