简体   繁体   English

三星Android设备将无法进入调试模式

[英]Samsung Android device won't go in debug mode

I have a simple problem, but thus far all of the advice found on this site and others have not helped. 我有一个简单的问题,但是到目前为止,在此站点上发现的所有建议以及其他建议都没有帮助。

I am trying to debug, through eclipse, on to a samsung device (SCH-R720.) 我正在尝试通过Eclipse调试到三星设备(SCH-R720)。

I have done this before with no problem. 我之前没有做过这个。 I recently got a replacement device (same make and model, same sd card) and I have yet to successfully get the phone to enter Debug mode. 我最近有一个替换设备(相同的品牌和型号,相同的SD卡),但我还没有成功使手机进入调试模式。

When it is plugged in, I can see that the USB is connected in my phone's status tray, with the option to copy files to/from my computer (which works fine, by the way) - however, the "Debug mode" message never shows up, and my phone is not seen by eclipse or "adb devices" 插入电源后,我可以看到USB已连接到手机的状态托盘中,并且可以选择向计算机中的文件复制文件(顺便说一句,可以正常工作)-但是,“调试模式”消息从不出现,并且日食或“ adb设备”看不到我的手机

Here's what I have tried, in more or less increasing order of obviousness: 这是我尝试过的,以明显程度从高到低的顺序:

In the device "Settings" I have allowed apps from unknown sources, and enabled USB debugging. 在设备“设置”中,我允许来自未知来源的应用程序启用了USB调试。

I have tried different USB cables, with no change. 我尝试了其他USB电缆,没有任何变化。

I have installed, uninstalled and reinstalled the appropriate USB drivers for my phone on this laptop. 我已经为此笔记本电脑上的手机安装,卸载并重新安装了相应的USB驱动程序。 Note that these have already been installed, as I have done lots of debugging on this laptop previously. 请注意,这些已经安装好了,因为我以前在这台笔记本电脑上做了很多调试。

I tried clearing the cache of every app installed on my phone, and then simply did a factory reset (not a big hassle since I only got this phone recently.) 我尝试清除手机上安装的每个应用程序的缓存,然后简单地将其恢复出厂设置(因为我最近才买到这部手机,所以没有什么麻烦)。

In command prompt, I tried "adb devices" and none were listed. 在命令提示符下,我尝试了“ adb设备”,但未列出任何设备。 I tried "adb kill-server" and this didn't help at all. 我尝试了“ adb kill-server”,这根本没有帮助。

In the Android SDK Manager, I verified that the Google USB Drivers were installed. 在Android SDK Manager中,我验证了是否已安装Google USB驱动程序。 They were. 他们是。 I then reinstalled the Android SDK and re-did all of the above steps, to no avail. 然后,我重新安装了Android SDK,并重新执行了上述所有步骤,但无济于事。

Also I should note that I periodically rebooted both my phone and my computer during these steps listed above. 另外,我还应注意,在上面列出的这些步骤中,我会定期重新启动手机和计算机。

This is frustrating. 这真令人沮丧。 Anyone have this issue before, which wasn't simply caused by not having the drivers installed or something? 有人曾经遇到过这个问题,这不仅是由于未安装驱动程序引起的还是什么原因?

Any help would be much appreciated. 任何帮助将非常感激。

You can also specify the device vendor in android adb settings file. 您还可以在android adb设置文件中指定设备供应商。

First you need to find the device vendor. 首先,您需要找到设备供应商。 In windows go to Start->Control Panel->Device Manager->Android Device->open the adb device driver You will have 3 tabs, 'General','Driver','Details'. 在Windows中,转到“开始”->“控制面板”->“设备管理器”->“ Android设备”->“打开adb设备驱动程序”。您将有3个选项卡,“常规”,“驱动程序”,“详细信息”。

Go to 'Details', select from the combo 'Hardware Ids' and look at the value, it should be something like that: USB\\VID_XXXX&PID_YYYY 转到“详细信息”,从组合“硬件ID”中选择并查看值,该值应类似于:USB \\ VID_XXXX&PID_YYYY

Hardware vendor is : XXXX 硬件供应商是:XXXX

Now you need to add the vendor in the adb settings file: 现在,您需要在adb设置文件中添加供应商:

Its located in: C:\\Users\\.android\\adb_usb.ini 它位于:C:\\ Users \\ .android \\ adb_usb.ini

just insert : 0xXXXX 只需插入:0xXXXX

at the end of the file. 在文件末尾。 Save and start adb again(with kill-server) 保存并重新启动adb(使用kill-server)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM