无法在 Windows 8 上将 Android 设备连接到 PC
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21246905/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can't Connect Android Device to PC on Windows 8
提问by The Hawk
I've tried everything, when I run 'adb devices' on my new HP Envy Windows 8 laptop I get a blank 'list of devices attached'. I've reinstalled the USB driver for the phone (Samsung Galaxy s3), I've set it to developer settings. The only clue as to what is wrong is when I performed troubleshooting on the hardware and devices control panel it said I have USB 3.0 ports and a USB 2.0 device. Though I read that the ports would be backwards compatible. Any ideas?
我已经尝试了所有方法,当我在新的 HP Envy Windows 8 笔记本电脑上运行“adb 设备”时,我得到一个空白的“附加设备列表”。我已经重新安装了手机(三星 Galaxy s3)的 USB 驱动程序,并将其设置为开发人员设置。关于问题的唯一线索是当我在硬件和设备控制面板上执行故障排除时,它说我有 USB 3.0 端口和一个 USB 2.0 设备。虽然我读到端口将向后兼容。有任何想法吗?
回答by Big D
2014-April: I agree this is an issue with Windows 8 / 8.1 and this approach was only successful by happenstance.
2014 年 4 月:我同意这是 Windows 8 / 8.1 的问题,这种方法只是偶然成功。
On my Win8.1 system, even with Samsung's official driver installed (see link below), my SGH-I727 Galaxy SII Skyrocket would not connect over USB - neither with MTP nor PTP enabled on the device under Settings > Storage > [press menu] > USB Computer Connection.
在我的 Win8.1 系统上,即使安装了三星的官方驱动程序(见下面的链接),我的 SGH-I727 Galaxy SII Skyrocket 也无法通过 USB 连接 - 在设置 > 存储 > [按菜单] 下的设备上启用 MTP 或 PTP > USB 计算机连接。
I ended up doing the following, while the phone was untethered, and after installing the Samsung driver:
我最终做了以下事情,而手机是不受限制的,并且在安装了三星驱动程序之后:
- Open an elevated CMD prompt, if logged in as a non-admin
- Type: set devmgr_show_nonpresent_devices=yes [press enter]
- Launch DEVMGMT.MSC
- Clicked VIEW > enabled SHOW HIDDEN DEVICES
- Expand Universal Serial Bus controllers
- Right-click uninstall all entities that appeared in gray [gray = notpresent]
- Expand System Devices and repeat removal of non-present devices. [NO REBOOT WAS REQUIRED at this point]
- Plugged the phone into a standard USB port - still unresolved
- Plugged the phone into a USB 3.0 port - device was recognized and installed itself
- 如果以非管理员身份登录,则打开提升的 CMD 提示
- 类型:set devmgr_show_nonpresent_devices=yes [按回车]
- 启动 DEVMGMT.MSC
- 单击“查看”>“启用显示隐藏设备”
- 扩展通用串行总线控制器
- 右键卸载所有出现灰色的实体[灰色=不存在]
- 展开系统设备并重复删除不存在的设备。[此时不需要重新启动]
- 将手机插入标准 USB 端口 - 仍未解决
- 将手机插入 USB 3.0 端口 - 设备被识别并自行安装
There is now an entry under Universal Serial Bus controllersnamed "SAMSUNG Mobile USB Composite Device". The driver tab for that entity is dated 02-Jan-2014 with version 2.11.7.0 from "SAMSUNG Electronics Co., Ltd." Note this version is different than the one downloaded directly from Samsung (see link below) which is 1.5.14.0.
现在在通用串行总线控制器下有一个名为“SAMSUNG Mobile USB Composite Device”的条目。该实体的驱动程序选项卡日期为 2014 年 1 月 2 日,版本为 2.11.7.0,来自“SAMSUNG Electronics Co., Ltd.” 请注意,此版本与直接从三星下载的版本(见下面的链接)不同,后者是 1.5.14.0。
There are now also two new entries under Portable Devices: "MTP USB Device" which is presently gray despite the device being currently connected, and "SAMSUNG-SGH-I727".
现在便携式设备下还有两个新条目:“MTP USB 设备”,尽管设备当前已连接,但目前仍呈灰色,以及“SAMSUNG-SGH-I727”。
Windows Explorernow shows a device named "SAMSUNG-SGH-I727" and, when opened, shows both "Internal Storage" as well as "SD Card" directories.
Windows 资源管理器现在显示名为“SAMSUNG-SGH-I727”的设备,并且在打开时显示“内部存储”和“SD 卡”目录。
ALSO NOTEthat the phone has to REMAIN UNLOCKED, in order for Windows Explorer to provide access to the aforementioned directories. Most smartphones will block access to these directories, when the phone's interface is locked due to your security preferences. In other words, ensure you swipe or enter your passcode and remain seeing your phone's main screen, while trying to view its directories via tether.
还要注意的是,手机里有保持解锁,以便Windows资源管理器提供进入上述目录。当手机界面因您的安全偏好而被锁定时,大多数智能手机会阻止访问这些目录。换句话说,确保您滑动或输入密码并保持看到手机的主屏幕,同时尝试通过系绳查看其目录。
Samsung Driver [version 1.5.14.0]: www.samsung.com/us/support/owners/product/SGH-I727MSAATT
三星驱动程序 [版本 1.5.14.0]: www.samsung.com/us/support/owners/product/SGH-I727MSAATT
回答by karllindmark
Are you mounting the device as a camera?
您是否将设备安装为相机?
In other words, head over to Settings
> Storage
> "Usb computer connection"
(via the ActionBar) > Camera (PTP)
.
换句话说,转到Settings
> Storage
> "Usb computer connection"
(通过 ActionBar) > Camera (PTP)
。
回答by mohammed momn
Make sure the Samsung drivers are installed. Power off your phone. Power on the phone in Download mode. (Volume Down + Home + Power) Press Volume Up to continue. Once it's in Download mode, plug it into your computer. Windows should now discover it and load the driver. Once this is complete, unplug the phone from the computer, and pull the battery out of the phone to get out of Download mode. Replace the battery, and power on the phone like normal. It should connect to the computer properly. this from this thread http://forums.androidcentral.com/verizon-galaxy-s-iii/286104-s3-wont-connect-via-usb-my-computer.html
确保安装了三星驱动程序。关闭手机。在下载模式下打开手机。(降低音量 + 主页 + 电源)按提高音量继续。进入下载模式后,将其插入您的计算机。Windows 现在应该发现它并加载驱动程序。完成后,将手机从计算机上拔下,然后从手机中取出电池以退出下载模式。更换电池,并像往常一样打开手机。它应该正确连接到计算机。这来自这个线程 http://forums.androidcentral.com/verizon-galaxy-s-iii/286104-s3-wont-connect-via-usb-my-computer.html
the problems will be related to the driver i face problems like this with my android device connecting to my pc
问题将与驱动程序有关,我在将 android 设备连接到我的电脑时遇到了这样的问题
回答by Dsonophorus
I had a similar problem (samsung note 3, hp win 8.1). When plugged in, the phone would constantly connect and disconnect. I tried 3 things - delete the whole driver from device manager (did nothing), swap from USB 2.0 port to usb 3.0 port (may have been part of getting it working) and changing one drive settings.
我有一个类似的问题(samsung note 3,hp win 8.1)。插入后,手机会不断连接和断开连接。我尝试了 3 件事 - 从设备管理器中删除整个驱动程序(什么也没做),从 USB 2.0 端口切换到 USB 3.0 端口(可能是让它工作的一部分)并更改一个驱动器设置。
One drive has a setting to sync data across all devices. It appears that windows trying to grab sensitive data from the phone was causing it to reset the connection. When I turned that off I got a stable basic connection.
一个驱动器具有跨所有设备同步数据的设置。似乎试图从手机中获取敏感数据的 Windows 导致它重置连接。当我关闭它时,我获得了稳定的基本连接。
I may be the only one, but I am creeped out that MS takes every opportunity to behave as spyware.
我可能是唯一的一个,但我很害怕 MS 抓住一切机会充当间谍软件。
Good luck, I hope that helps
祝你好运,希望能帮到你