在 Eclipse 的 Android 设备中看不到 Nexus7
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11533228/
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
Not seeing Nexus7 in Eclipse's Android Devices
提问by HappyFunBall
Possible Duplicate:
ADB dosn't recognize my Galaxy Nexus - Win7
I'm not seeing my Nexus7 listed in Eclipse's DDMS Devices.
我没有在 Eclipse 的 DDMS 设备中看到我的 Nexus7。
DDMS and "adb devices" from the console show my G1 android phone, but not the Nexus7.
控制台中的 DDMS 和“adb devices”显示了我的 G1 android 手机,但没有显示 Nexus7。
Usb Debugging is enabled on both phones, Eclipse is up to date as far as I can tell, Android SDK's Google-USB-rev6
两部手机都启用了 USB 调试,据我所知,Eclipse 是最新的,Android SDK 的 Google-USB-rev6
When I plugged in the N7 USB, I did see the Windows7 driver installed, and can browse files on it from file manager.
当我插入 N7 USB 时,我确实看到安装了 Windows7 驱动程序,并且可以从文件管理器浏览其上的文件。
MTP/PTP made no difference (MTP drivers from Microsoft Update, none for PTP)
MTP/PTP 没有区别(来自 Microsoft Update 的 MTP 驱动程序,PTP 没有)
"Select debug app" in Developer Options shows nothing.
开发人员选项中的“选择调试应用程序”什么也没显示。
"Unknown sources" is checked.
选中“未知来源”。
Tried different Usb port, toggled Usb Debugging.
尝试了不同的 USB 端口,切换了 USB 调试。
回答by user1023127
Heres what I did to get it working:
这是我为使其工作所做的工作:
I happened to already have ADB drivers for the Samsung Galaxy Nexus installed, if you don't, you need to download those.
Plug in the Nexus 7 and windows will find 2 drivers automatically, but won't find any for "Nexus"
Go to Device Manager, under "Other Devices" you'll see "Nexus" with the yellow exclamation mark, Right Click>Upate Drivers>Let me choose>Let me pick form device drivers on my computer.
Scroll down to "SAMSUNG Android Phone" (Again, the Galaxy Nexus drivers should be installed already, if not, find them), and choose the driver for "Android ADB Interface"
Click "Next", and the device should pop up in Eclipse.
我碰巧已经安装了三星 Galaxy Nexus 的 ADB 驱动程序,如果没有,则需要下载这些驱动程序。
插入 Nexus 7,Windows 会自动找到 2 个驱动程序,但找不到“Nexus”的任何驱动程序
转到设备管理器,在“其他设备”下,您将看到带有黄色感叹号的“Nexus”,右键单击>更新驱动程序>让我选择>让我选择计算机上的表单设备驱动程序。
向下滚动到“SAMSUNG Android Phone”(同样,应该已经安装了 Galaxy Nexus 驱动程序,如果没有,请找到它们),然后为“Android ADB Interface”选择驱动程序
单击“下一步”,设备应该会在 Eclipse 中弹出。
It worked for me, at least.
它至少对我有用。
回答by Mark Scheel
This is how I finally got it to work.
这就是我最终让它工作的方式。
- Download the naked adb driver:
- 下载裸 adb 驱动程序:
http://forum.xda-developers.com/showthread.php?t=1766220
http://forum.xda-developers.com/showthread.php?t=1766220
Unzip it
Open device manager
Find Nexus 7 in portable devices
Right click and select Update Driver Software
A couple clicks and typing lets you enter a path for your driver, enter wherever you put the unzipped naked driver
Now when the device is plugged in it shows up as Android Phone which seems like we are getting somewhere.
Reboot (I got frustrated because still not seeing my device in ADB DEVICES--might not be necessary)
Device manager, right click Android Phone/Google Nexus 7 ADB Interface, Update Driver Software
I selected USB Composite device but don't remember exactly how since I can't get back to that screen
ADB DEVICES shows my device now! (Also Eclipse)
When I go into Device Manager the driver for my nexus 7 is "Google Nexus 7 ADB Interface" provided by Google, Inc., dated 12/6/2010, version 4.0.0.0 and it is not digitally signed
解压
打开设备管理器
在便携式设备中查找 Nexus 7
右键单击并选择更新驱动程序软件
几次点击和输入让您输入驱动程序的路径,输入您放置解压缩的裸驱动程序的任何位置
现在,当设备插入时,它会显示为 Android 手机,这似乎是我们到达某个地方。
重新启动(我很沮丧,因为仍然没有在 ADB 设备中看到我的设备——可能没有必要)
设备管理器,右键单击 Android Phone/Google Nexus 7 ADB Interface,更新驱动程序软件
我选择了 USB Composite 设备,但不记得具体是怎么做的,因为我无法回到那个屏幕
ADB 设备现在显示我的设备!(也是日蚀)
当我进入设备管理器时,nexus 7 的驱动程序是由 Google, Inc. 提供的“Google Nexus 7 ADB 接口”,日期为 12/6/2010,版本 4.0.0.0,它没有数字签名
Hope this helps someone, why doesn't ASUS have a downloadable driver on their website?
希望这对某人有所帮助,为什么华硕的网站上没有可下载的驱动程序?
回答by Alex Clark
I wasted a bit of time getting my Nexus 7 USB/debug connection to work. In between poor documentation and lack of feedback from Windows 7 drivers, I missed a subtlety in the setup on the device. Enabling the debugging features on the device proper is actually two modifications, not one:
我浪费了一点时间让我的 Nexus 7 USB/调试连接工作。在糟糕的文档和缺乏来自 Windows 7 驱动程序的反馈之间,我错过了设备设置中的一个微妙之处。在设备上启用调试功能实际上是两个修改,而不是一个:
Go to Settings -> Developer options
转到设置-> 开发人员选项
Enable the developer settings overall by toggling the button on the top right, which enables other settings on the page. I skim read the rest of the options, and figured I was done.
通过切换右上角的按钮启用整体开发人员设置,这将启用页面上的其他设置。我略读了其余的选项,并认为我已经完成了。
Then enable the option "USB debugging", subtitled "Debug mode when USB is connected". If you don't switch this on, your drivers will register, but never do anything, or tell you why not... i.e. you're device won't even be listed when you run "adb devices", and Windows won't enable any of the standard USB file access features either.
然后启用选项“USB 调试”,副标题为“连接 USB 时的调试模式”。如果你不打开它,你的驱动程序将注册,但永远不会做任何事情,或者告诉你为什么不......也就是说,当你运行“adb devices”时,你的设备甚至不会被列出,而Windows不会t 启用任何标准 USB 文件访问功能。
回答by Chris.D
The correct driver now appears to install to [Android SDK]\google-usb_driver instead of just usb_driver. I still have both directories but once I pointed the driver update at the Google one it worked.
正确的驱动程序现在似乎安装到 [Android SDK]\google-usb_driver 而不仅仅是 usb_driver。我仍然拥有这两个目录,但是一旦我将驱动程序更新指向 Google 一个,它就起作用了。
回答by Douglas Hill
Are you using a 32-bit or 64-bit version of Windows? I too have the same problem and have had success using the same device on Macintosh.
您使用的是 32 位还是 64 位版本的 Windows?我也有同样的问题,并且在 Macintosh 上使用相同的设备取得了成功。
My experience with drivers and 64-bit windows has been hit or miss since the Nexus One.
自 Nexus One 以来,我对驱动程序和 64 位 Windows 的体验时好时坏。
回答by Mark Scheel
Use a mac?
使用 mac?
I have the same exact problem and have spent hours trying to get this to work on my Windows 7 laptop, I have messed around with the Universal Naked Driver (0.7) and tried to use the driver install tool in the Nexus Root Toolkit (1.5.2). No help. I also searched Asus for a driver (nothing but a manual there). I also made sure all my Android SDK software was up to date.
我有同样的问题,花了几个小时试图让它在我的 Windows 7 笔记本电脑上工作,我弄乱了通用裸驱动程序 (0.7) 并尝试使用 Nexus Root Toolkit (1.5.x) 中的驱动程序安装工具。 2)。没有帮助。我还搜索了华硕的驱动程序(那里只有一本手册)。我还确保我所有的 Android SDK 软件都是最新的。
When I try on a Mac it does show up! It still doesn't show up on my Windows 7 laptop using "adb devices", or in Eclipsed under DDMS. A galaxy nexus running jelly bean shows up just fine on the laptop.
当我在 Mac 上尝试时,它确实出现了!它仍然没有出现在我使用“adb 设备”的 Windows 7 笔记本电脑上,或者在 DDMS 下的 Eclipsed 中。运行 jelly bean 的星系关系在笔记本电脑上显示得很好。
Device Manager > Portable Devices > Nexus 7 > driver properties: Microsoft, 6/21/2006, 6.17600.16385
设备管理器 > 便携式设备 > Nexus 7 > 驱动程序属性:Microsoft, 6/21/2006, 6.17600.16385
The Samsung Galaxy Nexus phone that works is using a Samsung driver
可以使用的三星 Galaxy Nexus 手机使用的是三星驱动程序
回答by HappyFunBall
Got it working by downloading and running the root toolkit from (http://forum.xda-developers.com/showthread.php?t=1766475), just far enough to put the Nexus7 drivers in a directory I could point to, and "Update Driver" for the "MTP device" manually. Similar to what user1023127 did below with Samsung-Nexus drivers, but I didn't test those.
通过从 (http://forum.xda-developers.com/showthread.php?t=1766475) 下载并运行 root 工具包使其工作,足以将 Nexus7 驱动程序放在我可以指向的目录中,并且手动为“MTP 设备”“更新驱动程序”。类似于 user1023127 在下面使用 Samsung-Nexus 驱动程序所做的操作,但我没有测试它们。
Now seeing asus-nexus device in Eclips/DDMS, and was able to run an app on the tablet.
现在在 Eclips/DDMS 中看到 asus-nexus 设备,并且能够在平板电脑上运行应用程序。
回答by vedavis
I can confirm HappyFunBall's solution. Do not use the automatic driver install in Nexus Root Toolkit; complete Step 4 of the manual install and stop.
我可以确认 HappyFunBall 的解决方案。不要使用 Nexus Root Toolkit 中的自动驱动程序安装;完成手动安装和停止的第4步。
回答by Pixelapp
I don't think you need drivers.
我认为你不需要司机。
Do what I do:
做我做的:
Publish your app to your computer. Then In google play download Bluetooth File Transfer app (or any other file manager). Copy your app to a folder inside your nexus 7. Open Bluetooth File Transfer and click on your app. And finally click ok to install.
将您的应用程序发布到您的计算机。然后在谷歌播放下载蓝牙文件传输应用程序(或任何其他文件管理器)。将您的应用程序复制到您的 nexus 内的文件夹中 7. 打开蓝牙文件传输并单击您的应用程序。最后点击确定安装。
You'll have to do this until Asus releases some User Friendly Interface.
在华硕发布一些用户友好界面之前,您必须这样做。