要求提谷歌播放服务版本在应用程序的清单 [英] Requirement to mention Google Play services version in app's manifest

查看:111
本文介绍了要求提谷歌播放服务版本在应用程序的清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我,为什么我们要提的谷歌Play服务的版本,在应用程序的清单?什么是机器人做这个价值呢?

Can anybody tell me why we need to mention the Google Play service's version in an app's manifest? What does Android do with this value?

推荐答案

谷歌不断提升它的发挥service.But因为旧的应用程序在那里,所以要支持它使用的是旧版本的播放服务,我们需要spacify什么版本的应用程序发挥我们服务的应用为主。

Google continuously upgrading it's play service.But as old applications are there, so to support applications which are using old version of play service we need to spacify on what version of play service our application based.

更新:

我们包括谷歌播放服务lib和该版本基于这个LIB不是安装在我们的移动谷歌播放服务。所以玩服务-lib中的jar永远是里面我们与它的应用程序的版本,code.So谷歌将管理谷歌按照发挥服务-lib中的版本播放服务请求。

we include google-play-service lib and the version is based on this lib not on google play service installed in our mobile. so play-service-lib jar will always be inside in our application with it's version code.So google will manage google play service request according to play-service-lib version.

我们提供我们的清单版本的谷歌播放服务的lib

we provide version of google-play-service lib in our manifest

<meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />

和@整数/ google_play_services_version指的是版本库,这是使用在我们的应用程序。

and "@integer/google_play_services_version" refers to version of Lib,which is using in our application.

这是一样,我们要求的Facebook安装的应用程序,或者我们使用Facebook SDK与我们application..Both是不同的东西。

This is just like, We request Facebook installed application or we use Facebook Sdk with our application..Both are different things.

希望这是明确的。

这篇关于要求提谷歌播放服务版本在应用程序的清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆