0

我的游戏无法登录 Google Play 游戏服务,我不明白为什么。我尝试了很多不同的解决方案,没有一个对我有用,而且,我使用的是谷歌指南,但我仍然无法登录(尽管我已经设置了我的测试人员帐户并且正确APP_ID)。

显现:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.hypeofpipe.westernshooter"
    android:versionCode="8"
    android:versionName="0.4preAlpha">
    <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="25" />

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/GdxTheme" >
    <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/app_id"/>
    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
    <activity
        android:name="com.hypeofpipe.westernshooter.AndroidLauncher"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>

</manifest>
4

1 回答 1

2

是的 Włodek Wolieniuk,我在你的日志中看到了:

GetToken 失败,状态码为:UNREGISTERED_ON_API_CONSOLE

这导致我这个链接。

事实上,当您签署一个 APK,然后向 Google 索要 OAuth2 令牌时,您必须通过开发控制台注册您签署的应用程序。

于 2017-09-07T13:16:12.517 回答