Couldn‘t terminate the existing process for xxx

编程知识 更新时间:2023-04-05 17:45:20

Couldn’t terminate the existing process for xxx

在Android Studio中直接run一个项目的时候,有Couldn't terminate the existing process for xxx类型的错误
参考:

  • Android Studio : Couldn’t terminate the existing process for xxx

我参考上面的连接解决,亲测有效:

It’s because you ran in debug mode or attach debugger and that process is not killed perfectly.
Follow the following to resolve this issue.
1.Press “Attach Debugger to Android Process” button
2.“Choose Process” dialog will be shown and the application name is listed, press “OK”
3.Check the “Debug” tab console, when it says “Connected to the target VM, address: ‘localhost:60245’, transport: ‘socket’”
4.Press the “Debug” Button.
5.Device will relaunch the app with latest changes
6.Now stop from red button in the android studio menu bar. And run app again as normal

更多推荐

Couldn‘t terminate the existing process for xxx

本文发布于:2023-04-05 17:45:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/f71971ab1f40d4a13f23af84e82a19d5.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:existing   terminate   xxx   process

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 47028文章数
  • 14阅读数
  • 0评论数