connection problem on android devices

0 votes
Hi

My team and I are doing a project on libgdx and we followed the tutorial http://appwarp.shephertz.com/game-development-center/java-multiplayer-libgdx-tutorial/ adapted to our game.

The game works correctly in the Desktop mod, but when running it on an Android Device, there are some connection problems.

Indeed, in eclipse LogCat, it's displayed that the connection failed (e.getResult() equals 5 and onConnectDone returns false).

Thanks in advance for your help.
asked Jun 18, 2014 in App42 Cloud API-BaaS by romain.lamoureux (10 points)

1 Answer

0 votes

Can you ensure you have network permissions in your manifest?


    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
answered Jun 18, 2014 by dhruvc (1,099 points)
Thank you for your help, our problem is resolved.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...