`

android 解析带有_的 http url域名,出现解析错误的问题

阅读更多

在 android中 访问带有_ 的域名的时候,例如js_sdk.vlook.cn ,会出现访问错误的问题,  unkonw host is null.

 

在使用Urlconnection 或者 httpclientmanager的时候都会出现这样的问题, 必须去掉_ ,解决。

 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics