没有看到亚行,但是从Windows XP访问Android设备是从、设备、XP、Windows

2023-09-04 03:09:08 作者:你不配情深

我刚刚买了一个新的Nexus 7平板电脑,我试图把我的第一个Java应用程序就可以了。但是,我坚持在一个非常基本观点:亚洲开发银行并没有看到我的设备。当我检查我的工位上,完美的Windows检测到平板电脑,我切换了USB端口,每一位化妆显示设备,但亚行仍无法看到它。我重新启动,它仍然没有工作。这个任何想法?

I just bought a new Nexus 7 tablet and I am trying to put my first Java application on it. However, I am stuck at a very basic point: ADB does not see my device. When I check on my working station, Windows perfectly detects the tablet, I switched the USB port and every one make appear the device but ADB still cannot see it. I rebooted and it is still not working. Any idea about this?

更新的

Update

实际上也存在两个问题。首先,我没有激活的 USB调试模式。这就是为什么我可以用从工作站平板电脑(作为一个简单的多媒体播放器),即使没有安装正确的USB驱动程序的原因。

There was actually two problems. First, I had not activated the USB debugging mode. This was the reason why I could use the tablet from the working station (as a simple multimedia player) even though the correct USB driver was not installed.

二,驱动程序不能被Windows XP检测到的(即使我们我指定了正确的存储库来搜索它)。这个问题是解决了继 adamp

Second, the driver was not detected by Windows XP (even we I specified the correct repository to search for it). The problem was solved by following the procedure described by adamp

推荐答案

正如托马斯·K个点了,您需要安装ADB驱动从SDK管理器设备。同时确认USB调试启用的设备上进行米哈伊尔说。

As Thomas K points out, you need to install the ADB driver for the device from the SDK manager. Also confirm that USB debugging is enabled on the device as mihail noted.

随SDK提供的基本ADB驱动程序是通用的,可以与任何Android设备的工作。只需将相应的行添加到 android_winusb.inf 演员/谷歌/ usb_driver 来使Windows识别该设备的硬件文件驱动程序安装过程中的ID。添加在86节线32位Windows或AMD64部分64位Windows。

The basic ADB driver provided with the SDK is generic and can work with any Android device. Simply add the appropriate lines to the android_winusb.inf file under extras/google/usb_driver to make Windows recognize the device hardware IDs during driver installation. Add the lines under the x86 section for 32 bit Windows or amd64 section for 64 bit Windows.

有关的的Nexus 7,你需要的配置是:

For the Nexus 7, the configuration you'll need is:

;Nexus7
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E42
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E42&MI_01

在显著部分有VID_XXXX和PID_YYYY在两条线上。如果您有其他的Andr​​oid设备,你想补充,通过复制上述文件的正确的部分线路开始。您需要为您的设备正确的ID替换硬件ID。

The significant sections there are VID_XXXX and PID_YYYY on both lines. If you have another Android device you would like to add, start by duplicating the lines above in the correct section of the file. You'll need to replace the hardware IDs with the correct IDs for your device.

打开设备管理器,找到Android设备没有安装了ADB驱动,右键单击它,然后选择属性。在详细信息选项卡,然后从下拉列表中硬件ID。你会看到一条线,看起来像 USB \ VID_18D1和放大器; PID_4E42和放大器; MI_01 。复制VID_XXXX部分和PID_YYYY节到您在.inf文件中加入上面的两行。保存文件,然后更新驱动程序的设备,并使用该驱动程序的目录,你只保存在.inf的。

Open Device Manager, locate the Android device without an ADB driver installed, right click it, and choose Properties. Under the Details tab, select Hardware IDs from the dropdown list. You'll see a line that looks something like USB\VID_18D1&PID_4E42&MI_01. Copy the VID_XXXX section and PID_YYYY section into the two lines you added in the .inf file above. Save the file, then update the driver for the device and use the driver from the directory where the .inf you just saved is.