2017-09-07 13 views
0

我使用本教程建立一個谷歌玩回合制多人遊戲:https://developers.google.com/games/services/console/enablingjava.lang.IllegalStateException:發生致命開發人員錯誤。檢查日誌以獲得更多信息

我已經完成了教程,我認爲我做的一切都是對的,但我不斷收到錯誤的java .lang.IllegalStateException:發生致命的開發人員錯誤。檢查日誌以獲取更多信息。當我檢查logcat沒有過濾器(我認爲這就是「日誌」的意思),我看到的唯一相關的錯誤是「應用程序ID(ReplaceMe)必須是一個數值,請驗證您的清單是指正確的項目ID「。

我的項目中存在應用程序ID的所有位置已被我在Developer Console中創建的12位數字應用程序取代,當我搜索「ReplaceMe」項目時,什麼也沒有顯示。

我一直在這裏拉我的頭髮兩天。任何想法我應該做什麼?

下面是我的清單和值/ ids.xml

的AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="com.mymikemiller.skeleton"> 

<application 
    android:allowBackup="true" 
    android:fullBackupContent="false" 
    android:icon="@drawable/ic_launcher" 
    android:label="@string/app_name" 
    android:screenOrientation="landscape" 
    android:theme="@style/Theme.App" > 
    <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.mymikemiller.skeleton.SkeletonActivity" 
      android:screenOrientation="landscape" 
      android:label="@string/app_name" > 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 
    </application> 

</manifest> 

值/ ids.xml:

<resources> 
    <!-- Insert your app id from the Developer Consoles --> 
    <string name="app_id"><My 12 digit app id></string> 
</resources> 
+0

https://stackoverflow.com/questions/39934727/error-in-setting-up-google-play-services-in-unity –

回答

相關問題