Note that there are some explanatory texts on larger screens.

plurals
  1. POCONNECTION_FAILED while creating room Google Play Services
    primarykey
    data
    text
    <p>This is my function to quickGame</p> <pre><code>Bundle autoMatchCriteria = RoomConfig.createAutoMatchCriteria(1, 1, 0); RoomConfig.Builder rtmConfigBuilder = RoomConfig.builder(this); rtmConfigBuilder.setMessageReceivedListener(this); rtmConfigBuilder.setRoomStatusUpdateListener(this); rtmConfigBuilder.setAutoMatchCriteria(autoMatchCriteria); switchToScreen(R.id.screen_wait); //keepScreenOn(); //resetGameVars(); getGamesClient().createRoom(rtmConfigBuilder.build()); </code></pre> <p>and onRoomCreated where game stops </p> <pre><code>@Override public void onRoomCreated(int statusCode, Room room) { Log.d(TAG, "onRoomCreated(" + statusCode + ", " + room + ")"); if (statusCode != GamesClient.STATUS_OK) { Log.e(TAG, "*** Error: onRoomCreated, status " + statusCode); showGameError(); return; } showWaitingRoom(room); } </code></pre> <p>Im getting <code>statusCode = 7000</code> which is <code>STATUS_REAL_TIME_CONNECTION_FAILED</code>, and <code>room = null</code> so i think problem is in quickGame function.</p> <pre><code>D/Multiplayer(24221): Sign-in succeeded. D/Multiplayer(24221): GameHelper: onActivityResult: req=10001, resp=RESULT_CANCELED D/Multiplayer(24221): GameHelper: onActivityResult: request code not meant for us. Ignoring. W/Multiplayer(24221): *** invitation inbox UI cancelled, 0 D/Multiplayer(24221): GameHelper: onActivityResult: req=10000, resp=RESULT_OK D/Multiplayer(24221): GameHelper: onActivityResult: request code not meant for us. Ignoring. D/Multiplayer(24221): Select players UI succeeded. D/Multiplayer(24221): Invitee count: 1 D/Multiplayer(24221): Creating room... D/Multiplayer(24221): Room created, waiting for it to be ready... D/Multiplayer(24221): onRoomCreated(7000, null) E/Multiplayer(24221): *** Error: onRoomCreated, status 7000 W/ResourceType(24221): getEntry failing because entryIndex 13 is beyond type entryCount 1 W/ResourceType(24221): Failure getting entry for 0x7f0b000d (t=10 e=13) in package 0 (error -2147483647) E/GooglePlayServicesUtil(24221): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. W/PicturePileLayerContent(24221): Warning: painting PicturePile without content! W/PicturePileLayerContent(24221): Warning: painting PicturePile without content! W/PicturePileLayerContent(24221): Warning: painting PicturePile without content! </code></pre> <p>Im comparing my source code with google example, but no effects I've Google Play Services 4.0 on tablet and latest sdk </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload