Android webview CreatePlatformSocket() 失败:机器不在网络上
第一次以编程方式连接到物联网设备的 wifi 网络时,物联网设备将在配置更改后手动断开连接到不同的 wifi 网络,同时加载 webview 总是抛出此错误
E/GPUAUX: [AUX]GuiExtAuxCheckAuxPath:663: Null anb
E/chromium: [错误:socket_posix.cc(96)] CreatePlatformSocket() 失败: 机器不在网络上 (64)
webview onerror回调返回
error.description -> net::ERR_INTERNET_DISCONNECTED
error.code ->; -1 / -2
但重新启动后工作正常
At first connecting to wifi network of iot device programmatically at one point iot device will disconnect that time manually connecting to different wifi network after this configuration change while loading the webview always throws this error
E/GPUAUX: [AUX]GuiExtAuxCheckAuxPath:663: Null anb
E/chromium: [ERROR:socket_posix.cc(96)] CreatePlatformSocket() failed: Machine is not on the network (64)
webview onerror callback returns
error.description -> net::ERR_INTERNET_DISCONNECTED
error.code -> -1 / -2
But after relaunching its working fine
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论