【发布时间】:2015-05-02 09:44:45
【问题描述】:
我正在使用 android studio 在 android 上构建一个谷歌地图应用程序 当我发布我的应用程序的第一个版本时,没有人能够查看谷歌地图,因为用户必须在设备上安装谷歌播放服务(我不能要求人们在每台设备上下载它)所以我想将它嵌入到我的应用程序。
我一直在寻找 4 天,到目前为止没有运气
我知道 google-play-services.jar 库可以添加到应用程序中,因此用户无需安装播放服务
我不确定是否应该在我的 android studio 应用中使用 google-play-services.jar 或 com.google.android.gms:play-services。
我在其他答案中读到,我可以在我的应用中使用 google-play-services.jar,这样我就可以准备好 Google Play 服务,而无需用户安装它。
在另一个人说 com.google.android.gms:play-services 是应用程序中必须的!
有这方面的经验吗? 请指教。
谢谢
【问题讨论】:
标签: android google-play-services google-maps-api-2