发现之前使用HttpClient的游戏,在Android 5.0上无法正常工作,在android 4.x上都很正常。Google了一下,发现也有人遇到类似的问题。
见这里:
HttpClient does not work correctly with android 5.0
http://discuss.cocos2d-x.org/t/httpclient-does-not-work-correctly-with-android-5-0/18190
于是切换到调用curl的API,发现也无法正常工作。
HttpClient是对curl的封装吧?难道问题是curl库的问题。
不知道哪位兄弟遇到过,能不能分享一下经验。
help,help