获取“连接超时"错误和“操作系统错误" [英] Getting Error of "Connection Timed Out" and "OS Error"

查看:30
本文介绍了获取“连接超时"错误和“操作系统错误"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试模式下在 Gorgeo 4GL 上启动 libmain.dart...libmain.dart:1√ 内置 buildappoutputsflutter-apkapp-debug.apk.V/PhoneWindow(10971):DecorView setVisiblity:visibility = 0, Parent = ViewRoot{4b712b0 com.example.thesocial/com.example.thesocial.MainActivity,ident = 0}, this = DecorView@b80e062[MainActivity]D/Surface (10971): Surface::connect(this=0x8b962000,api=1)D/Surface (10971): Surface::connect(this=0x8b8fd000,api=1)在 ws://127.0.0.1:52475/qaS-Qs8zk5w=/ws 连接到 VM 服务I/zygote(10971):做部分代码缓存收集,代码=18KB,数据=30KBI/zygote(10971):代码缓存收集后,代码=18KB,数据=30KBI/zygote (10971):将代码缓存容量增加到 128KBI/zygote(10971):做部分代码缓存收集,代码=61KB,数据=61KBI/zygote(10971):代码缓存收集后,代码=61KB,数据=61KBI/zygote (10971):将代码缓存容量增加到 256KB我/颤振(10971):http://10.0.2.2:8000/user/signupI/flutter (10971): SocketException: OS Error: Connection timed out, errno = 110, address = 10.0.2.2, port = 56162

<块引用>

出现此错误:I/flutter (10971): SocketException: OS Error: Connection timed out, errno = 110, address = 10.0.2.2, port = 56162

解决方案

你应该试试这个:

<uses-permission android:name="android.permission.INTERNET";/><应用程序>

Launching libmain.dart on Gorgeo 4GL in debug mode...
libmain.dart:1
√  Built buildappoutputsflutter-apkapp-debug.apk.
V/PhoneWindow(10971): DecorView setVisiblity: visibility = 0, Parent = ViewRoot{4b712b0 com.example.thesocial/com.example.thesocial.MainActivity,ident = 0}, this = DecorView@b80e062[MainActivity]
D/Surface (10971): Surface::connect(this=0x8b962000,api=1)
D/Surface (10971): Surface::connect(this=0x8b8fd000,api=1)
Connecting to VM Service at ws://127.0.0.1:52475/qaS-Qs8zk5w=/ws
I/zygote  (10971): Do partial code cache collection, code=18KB, data=30KB
I/zygote  (10971): After code cache collection, code=18KB, data=30KB
I/zygote  (10971): Increasing code cache capacity to 128KB
I/zygote  (10971): Do partial code cache collection, code=61KB, data=61KB
I/zygote  (10971): After code cache collection, code=61KB, data=61KB
I/zygote  (10971): Increasing code cache capacity to 256KB
I/flutter (10971): http://10.0.2.2:8000/user/signup
I/flutter (10971): SocketException: OS Error: Connection timed out, errno = 110, address = 10.0.2.2, port = 56162

Getting this Error: I/flutter (10971): SocketException: OS Error: Connection timed out, errno = 110, address = 10.0.2.2, port = 56162

解决方案

You should try this:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.shop_app">
   <uses-permission android:name="android.permission.INTERNET" />
    <application>

这篇关于获取“连接超时"错误和“操作系统错误"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆