Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 颤振:尝试x次后,Observatory服务器无法启动_Flutter_Dart - Fatal编程技术网

Flutter 颤振:尝试x次后,Observatory服务器无法启动

Flutter 颤振:尝试x次后,Observatory服务器无法启动,flutter,dart,Flutter,Dart,当我启动应用程序时,它会启动构建并将其显示在日志中: Installing build\app\outputs\flutter-apk\app.apk... 12,9s I/flutter ( 8540): Observatory server failed to start after 1 tries I/flutter ( 8540): Observatory server failed to start after 2 tries I/flutter ( 85

当我启动应用程序时,它会启动构建并将其显示在日志中:

Installing build\app\outputs\flutter-apk\app.apk...                12,9s
I/flutter ( 8540): Observatory server failed to start after 1 tries
I/flutter ( 8540): Observatory server failed to start after 2 tries
I/flutter ( 8540): Observatory server failed to start after 3 tries
I/flutter ( 8540): Observatory server failed to start after 4 tries
I/flutter ( 8540): Observatory server failed to start after 5 tries
I/flutter ( 8540): Observatory server failed to start after 6 tries
I/flutter ( 8540): Observatory server failed to start after 7 tries
I/flutter ( 8540): Observatory server failed to start after 8 tries
I/flutter ( 8540): Observatory server failed to start after 9 tries
I/flutter ( 8540): Observatory server failed to start after 10 tries
I/flutter ( 8540): Observatory server failed to start after 11 tries
I/flutter ( 8540): Could not start Observatory HTTP server:
I/flutter ( 8540): SocketException: Failed to create server socket (OS Error: Operation not permitted, errno = 1), address = 127.0.0.1, port = 0
在这个应用程序中,我使用一个api,该api在本地运行,我通过我的ip 192.168.0.x:port访问它 一切都正常工作,不知从哪里开始出现这个错误,我已经放置并删除了
androidManifest,我没有更多的想法要做,有解决方案吗?

您的清单文件中有这个吗<代码>是的,我有。我试过不用它,用它android\app\src\profile\AndroidManifest.xml