谷歌Play业务已经过时了。需要7571000但发现6774470发现、业务、Play、谷歌

由网友(爱可平山河)分享简介:我试着添加谷歌播放API来我的Andr​​oid游戏,我跟在他们网站上的说明。Im trying to add google play API to my android game and i followed the instructions in their site.我在模拟器中运行这个错误,试图解决它。(...

我试着添加谷歌播放API来我的Andr​​oid游戏,我跟在他们网站上的说明。

Im trying to add google play API to my android game and i followed the instructions in their site.

我在模拟器中运行这个错误,试图解决它。 (我的手机上的应用程序只是崩溃)

I got this error in the emulator run, trying to solve it. (on my phone the app just crash)

在清单:

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

在Version.xml

In the Version.xml

<integer name="google_play_services_version">7571000</integer>

和我安装了所有必需的包。

and i got all the necessary packages installed.

什么问题可能?

注释: 它的安装

推荐答案

添加在 dependencies.gradle 下面的脚本,它会自动下载最新的游戏服务lib和你可以找到他们的本地路径,如: m2repository / COM /谷歌/安卓/ GMS /播放服务

Add the below script in dependencies.gradle, it will download the latest play service lib automatically, and you can find them on local path such as: m2repository/com/google/android/gms/play-services.

dependencies {
  compile 'com.google.android.gms:play-services:4.2.+'
}
阅读全文

相关推荐

最新文章