Cannot connect on Android 5.0/Lollipop (cocos2dx v3.3rc0)

+1 vote
Hi,

We have set up a small app with Cocos2dX, but our android build is no longer able to connect to the sever, or get any timeout errors or anything. Is there any way to debug what could be causing this issue?

If we quit our MP game screen (which handles the connection/disconnection)  and reneter, we get an error that the connection failed with a bad request.

Our iOS build has no problems with connection, or gameplay.

EDIT: On further testing - this may be a Lollipop issue, as the device that this occured on is running the latest Android OS.
 

Any help would be great, thanks.
asked Nov 24, 2014 in AppWarp by dsilk (15 points)
edited Nov 24, 2014 by dsilk

1 Answer

0 votes

Hi,

Please give us some time. We will test out our SDK for Cocos2Dx on Android Lolipop device and will let you know here on this thread.

Update :
You need to use Cocos2D-x 3.3 final version with Android NDK r10c or above to run your game on Android Lolipop

Thanks

answered Nov 24, 2014 by Suyash Mohan (900 points)
edited Dec 18, 2014 by Suyash Mohan
Hi,

We test Cocos2Dx sdk on android. Internally AppWarp SDK uses CURL for looking up for server address based on your API Key. Sadly CURL is having issue on Android 5.0, this is why your game was not working on android 5.

We are looking for solutions. Meanwhile you can skip the lookup and directly connect to one of our server. This way your game will work. Just send us your API key at support@shephertz.com. And I will send you the address of AppWarp server that you were using.

Thanks
You need to use Cocos2D-x 3.3 final version with Android NDK r10c or above to run your game on Android Lolipop
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
...