等待调试连接时出错:日志读取器意外停止

时间:2020-05-15 13:09:54

标签: flutter logging dart flutter-dependencies flutter-test

您好,我是新手,最近5-6天都遇到了问题

等待调试连接时出错:日志读取器已停止 意外地

√ Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...                         7.3s
Error waiting for a debug connection: The log reader stopped unexpectedly
Application failed to start. Will not run test. Quitting.

我无法运行集成测试,请帮助我解决问题。

MyCode:https://github.com/VickyBOSS/flutter_integration_testing

1 个答案:

答案 0 :(得分:0)

我也面临着同样的问题;该应用将成功启动,但会失去连接。我能够通过更新android SDK构建工具和平台工具来解决此问题。

如果这对您不起作用,您还可以在这里找到更多可能的解决方案:https://github.com/flutter/flutter/issues/52764