gpt4 book ai didi

android - 如何在 Eclipse ADT 中停止 adb 进程?

转载 作者:行者123 更新时间:2023-11-29 17:50:46 26 4
gpt4 key购买 nike

基本上,我已经完成了我的 android 应用程序的开发和调试,我想断开我的 android 设备。但是,由于 adb 进程仍在运行,我无法安全地断开连接!

如何系统地停止Eclipse启动的adb进程?
简单地杀死进程是肮脏和不优雅的!

注意:我知道 keeping my device charging mode ,但是它并没有解决当我断开设备连接时 adb 进程正在运行的事实(无论我是否将其保持在充电模式)

最佳答案

您无法从 Eclipse 中终止 adb 服务器,仅仅是因为该功能尚未在 Eclipse ADT 插件中实现。

这是来自Android官方关于Eclipse ADT插件的文档:

adb: Provides access to a device from your development system. Some features of adb are integrated into ADT such as project installation (Eclipse run menu), file transfer, device enumeration, and logcat (DDMS). You must access the more advanced features of adb, such as shell commands, from the command line.

关于android - 如何在 Eclipse ADT 中停止 adb 进程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22979178/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com