Visual Studio调试器-无法附加。操作超时 [英] Visual Studio Debugger - Unable To Attach. Operation Timed Out

查看:192
本文介绍了Visual Studio调试器-无法附加。操作超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在调试模式下运行CordovaApp时,我开始出现此错误:无法连接。操作超时。首先,我经常收到它,但有时

I started to get this error when trying to run my CordovaApp in Debug Mode: Unable to attach.Operation timed out. First i was getting it quite often but still sometimes it was able to attach and now i'm always getting it.

该应用程序已在模拟器或我的Android设备上成功部署并启动。

The application is deployed and started successfully in the emulator or on my Android Device.

我该如何解决?是否可以增加超时阈值? (也许如果我再等一会,它可能会像以前那样工作时可以连接)。

How can I solve this? Is it possible to increase timeout threshold? (maybe if I wait more it can attach as sometimes it was working before).

编辑:

可在3台不同的机器上重现。

Reproducible on 3 different machines.

推荐答案

我遇到了同样的问题,
找到了一些对我有效的解决方法,而无需重新启动。
全部在模拟器用户界面中完成

I had the same issue, find some workaround that works for me without restarting. all is done in emulator UI


  1. 在模拟器->应用程序中(显示所有已安装的应用程序,包括拒绝运行的应用程序)

  2. 侧栏->单击菜单,然后选择管理应用程序

  3. 向下滚动到您的应用程序

  4. 单击清除数据和强制停止

  5. 返回到应用程序,然后单击您的应用程序。

  6. 在您的手指间等待几下秒..

  1. in the emulator -> apps (show all apps installed including yours that refuse to run)
  2. side bar -> click "menu" and select "Manage Apps"
  3. scroll down to your app
  4. click "clear data" and "force stop"
  5. go back to apps and click on your app.
  6. cross your fingers and wait few seconds ..

希望有帮助

这篇关于Visual Studio调试器-无法附加。操作超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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