Android的工作室:获取谷歌播放服务 [英] Android Studio : Get Google Play Services
问题描述
我想使用谷歌地图在我的应用程序
I want to use Google Maps in my app
但是当我运行我的应用程序我得到这个错误
But when I run my app I get this error
这个应用程序将没有谷歌Play服务,从您的手机中运行。获取Google Play服务
This app won't run without Google Play services, which are missing from your phone. GET GOOGLE PLAY SERVICES
我尝试过其他解决方案,如从SDK管理器中安装谷歌的API,但没有工作,仍然得到同样的错误。
I tried other solutions like installing the google api from SDK Manager but did not work, and still get the same error.
任何人都可以帮我吗?
推荐答案
为了运行应用程序,使用谷歌播放服务,您的模拟器或设备必须拥有谷歌播放安装服务。
In order to run application that uses Google Play Services, your emulator or device must have Google Play Services installed.
在Android SDK中管理器允许您与谷歌pinstalled播放服务$ P $安装模拟器系统映像。
In Android SDK Manager allows you to install emulator system images with preinstalled Google Play Services.
当你拥有了这些安装在系统中,你可以创建仿真器将能够运行应用程序。
When you have those installed on your system, you can then create emulator that will be able to run your application.
打开AVD管理,创造新的模拟器。请确保你使用一些谷歌API系统映像。
Open AVD Manager and create new emulator. Make sure that you use some of Google API system images.
这篇关于Android的工作室:获取谷歌播放服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!