在flutter应用程序中集成API会出现错误“程序链接失败”

时间:2019-06-25 06:48:16

标签: android api http flutter dart

当我尝试在flutter应用程序中与API集成时,出现错误“ Program linking failed

登录

Launching lib\main.dart on Android SDK built for x86 in debug mode...
Built build\app\outputs\apk\debug\app-debug.apk.
D/EGL_emulation( 7612): eglMakeCurrent: 0xe30bcb00: ver 3 1 (tinfo 0xe3610f50)
D/skia    ( 7612): Program linking failed.
I/chatty  ( 7612): uid=10086(com.example.on_demand_customer) 1.gpu identical 9 lines
D/skia    ( 7612): Program linking failed.
D/skia    ( 7612): Program linking failed.
D/skia    ( 7612): Program linking failed.
D/skia    ( 7612): Program linking failed.
D/skia    ( 7612): Program linking failed.
D/skia    ( 7612): Program linking failed.
D/skia    ( 7612): Program linking failed.
E/flutter ( 7612): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: SocketException: OS Error: Connection refused, errno = 111, address = 192.168.2.20, port = 42460

1 个答案:

答案 0 :(得分:0)

这只是一个代理错误,只有当您的服务器和android studio与代理连接并且您的PC没有与代理连接时,才会发生这种错误

[1]:https://i.stack.imgur.com/Xp8FD.png enter code here