如何安全断开你的手机时,您将它连接通过Eclipse的调试? [英] How to disconnect your phone safely when you connect it for debugging through Eclipse?

查看:101
本文介绍了如何安全断开你的手机时,您将它连接通过Eclipse的调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有安全的方式,或只是我们需要取消直接插上USB电缆?没有得到解决的任何地方。对不起,如果我的疑问是愚蠢的,因为我是新来的Andr​​oid开发&安培;刚刚买了我的新昂贵的Andr​​oid手机。所以,我不希望任何损害或伤害到我的手机。

Is there any safe way or just we need to un-plug the USB cable directly? Didn't get the solution anywhere. Sorry, if my doubt is silly as I am new to Android Development & just bought my new costly Android phone. So I do not want any damage or harm to my phone.

当我接我的电话,它说,USB调试连接&放大器; 连接的媒体传输。模式。如何断开?请企业。谢谢!

When I connected my phone, it says, "USB debugging connected" & "Connected in Media transf. mode". How to disconnect? please corporate. Thanks!

推荐答案

更改从'大容量存储设备在手机上的USB设置为充电;这会从PC上所挂载停止手机。这不会影响亚洲开发银行,它使用不同的机制来交谈的手机。然后,你可以抽出插件,只要你喜欢它的感觉。

Change the USB settings on the phone from 'mass storage device' to 'charging'; this will stop the phone from being automounted on the PC. This won't affect adb, which uses a different mechanism to talk to the phone. Then you can just yank the plug whenever you feel like it.

(如果你把它留在大容量存储设备模式有,你会损坏SD卡上的文件系统,当你拔出插头。另外一个机会,你的工作,应用程序将无法反正访问SD卡。)

(If you leave it in 'mass storage device' mode there's a chance that you'll corrupt the filesystem on the SD card when you pull the plug. Plus, the application you're working on won't be able to access the SD card anyway.)

这篇关于如何安全断开你的手机时,您将它连接通过Eclipse的调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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