Visual Studio Debugger - Unable To Attach. Operation Timed Out

梦想的初衷 提交于 2019-12-12 20:25:37

问题


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.

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).

EDIT:

Reproducible on 3 different machines.


回答1:


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

  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 ..

hope it's helps



来源:https://stackoverflow.com/questions/25516456/visual-studio-debugger-unable-to-attach-operation-timed-out

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!