从 SDK 运行应用程序到 Nexus 4 手机会产生 ssh_exchange_identification:远程主机关闭连接错误

从 SDK 运行应用程序到 Nexus 4 手机会产生 ssh_exchange_identification:远程主机关闭连接错误

我之前曾成功通过 SDK 在此设备上运行过应用程序。现在 SDK 给出了错误:

[10:27:08] Started /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app
[10:27:09] ssh_exchange_identification: Connection closed by remote host
[10:27:09] /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app finished with code 255

我已经引导了最新的 devel-proposed(302)并且尝试了以下命令:

adb shell setprop persist.service.ssh true && adb reboot

没有运气。

设备运行正常,我可以通过命令行 ssh 进入,没有问题,唯一的问题是从 SDK 运行应用程序到设备。该设备也被 SDK 检测到,并在 SDK 中以开发者模式运行。

有人之前见过这个错误或者知道如何修复它吗?

谢谢

答案1

最近对 Ubuntu SDK 所做的更改已经为我消除了这个问题。

相关内容