Google Play Services need to update in android studio emulator

怎甘沉沦 提交于 2019-12-12 05:29:18

问题


Google Play Services need to update in android studio emulator. But if I press update nothing happens. I am using api 23.1.1. I need to use the op play services to use Google Cloud Messaging. how do you need to update?


回答1:


I fixed this issue before by changing a line in my build.gradle file

from:

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

to:

compile 'com.google.android.gms:play-services:7.+'



回答2:


Run SDK Manager.exe you will get a pop up of Android SDK Manager. At the bottom u will find Select New or Updates. Then you can select the updated google play services and install the package.



来源:https://stackoverflow.com/questions/34350947/google-play-services-need-to-update-in-android-studio-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!