CONNECTION_ERROR CODE 5 on Android 9

0 votes

Hi.

I successfully created a multiplayer demo game based on the example:
The project is successfully running on desktop and Android versions 6.0 and 7.1.1. But the initialization doesn't work on the Xiaomi Redmi Note 5 Android 9:
CONNECTION_ERROR CODE 5 in onConnectDone(ConnectEvent connectEvent)
 
App42MultiPlayerGamingSDK.jar (version 2.3)
In build.gradle targetSdkVersion 29

 

asked Mar 26, 2020 in Android by Byril Games (25 points)
edited Mar 26, 2020 by Byril Games

1 Answer

0 votes
 
Best answer

I solved this problem. Add a line to the AndroidManifest.xml:

<application
...
android:usesCleartextTraffic="true"
...>

Apparently AppWarp uses requests without encryption.

answered Mar 26, 2020 by Byril Games (25 points)
selected Mar 27, 2020 by Byril Games
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
...