android debug卡在waiting for debugger,显示Could not connect to remote process. Aborting debug session

android studio调试debug遇到的坑,特此记录:
android studio调试debug一直卡在waiting for debugger,在工具下面的Debug的日志中显示Could not connect to remote process. Aborting debug session。

一、首先遇到android项目不能调试的时候,网上这么多博客都有项目的办法,这里总结一下:

  • 打开了多个IED,关闭其它的留下一个。就是打开了两个模拟设备,比如:一个手机,一个夜神模拟器。
  • 重启adb, 运行命名 adb kill-server 再 adb start-server。
  • adb端口5073被占用,只要结束掉占用的进程就行了。去任务管理器中找到对应的相同的端口号,将其关闭就行。
  • 手机上的360手机助手会影响,会抢占 adb ;
  • 电脑上的电脑管家,360安全卫士等杀毒软件有影响;

怪自己手贱 在idea里面安装了一个android 插件. 然后又用 android 打开了ionic下platform 里面的android 进行运行导致 as 一直运行不起来

参考链接:https://blog.csdn.net/sunbinkang/article/details/79746336

你可能感兴趣的:(android debug卡在waiting for debugger,显示Could not connect to remote process. Aborting debug session)