I use the HttpClient of cocos2dx. it works well on iOS.
On android, keeps the app running and the wifi closed, the text “Failed to connect to”XX.XX.XX.XX" comes out.
Even open the wifi,it shows “Failed to connect to”XX.XX.XX.XX" also.
I already have added the permissions.
can everybody help me??