2017-09-07 4 views
0

私がグーグルを設定するには、このチュートリアルを使用していますベースのマルチプレイヤーゲームを回し再生する:https://developers.google.com/games/services/console/enablingjava.lang.IllegalStateException:致命的な開発者エラーが発生しました。詳細についてはログを確認してください

私は、チュートリアルを完了していると私は、私はすべてが右やったと思いますが、私は、エラーのjavaを取得しておきます.lang.IllegalStateException:致命的な開発者エラーが発生しました。詳細については、ログを確認してください。

フィルタなしでlogcatをチェックすると(「ログ」という意味です)、「アプリケーションID(ReplaceMe)は数値でなければなりません」という唯一の関連エラーが表示されます。正しいプロジェクトID。

プロジェクト内にアプリケーションIDが存在するすべての場所が、開発者コンソールで作成した12桁の12桁のアプリケーションに置き換えられました。また、「ReplaceMe」のプロジェクトを検索すると何も表示されません。

私は2日間この上に私の髪を引っ張ってきました。私は何をすべきか?

以下

私のマニフェストと値/ 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 –

答えて

0

あなたは、あなたが実行したときにそのことを確認してください適切な設定を使用しています。ここでのサンプル:

https://github.com/playgameservices/android-basic-samples/tree/master/BasicSamples

あなたは、パッケージを開く開いているすべてのプロジェクトの束を持っています。適切な構成が設定されていることを確認するか、他のプロジェクトに正しいApp Id値が設定されていないため、エラーが発生します。

関連する問題