Google play services, sign in succeeded but error oncreateroom

倾然丶 夕夏残阳落幕 提交于 2020-01-24 19:20:08

问题


I am trying google play services samples specifically ButtonClicker2000. The sign in process is ok from the logcat also, but I have another error:

06-01 22:43:15.478: D/ButtonClicker2000(1565): Sign-in succeeded.
06-01 22:43:19.290: D/ButtonClicker2000(1565): onRoomCreated(6, null)
06-01 22:43:19.290: E/ButtonClicker2000(1565): *** Error: onRoomCreated, status 6

I don't know what it can be. Browsing the constants page error 6 is: STATUS_NETWORK_ERROR_OPERATION_FAILED. This is a strange error because I am connected to the internet (also the successful sign in proves that)

I am using AndroVM as android device with google play services (and google play also) installed. Any idea?


回答1:


This was driving me crazy for a while. You have to enable real-time multiplayer support in the Developer Console. It's one of the options in Linked Apps on the Game Services tab. See also this troubleshooting page which links to these instructions



来源:https://stackoverflow.com/questions/16877100/google-play-services-sign-in-succeeded-but-error-oncreateroom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!