不能Nexus One手机连接到Android ADB [英] Cannot connect Nexus One Phone to Android adb

查看:140
本文介绍了不能Nexus One手机连接到Android ADB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行的Andr​​oid SDK 2.2,并想获得亚行连接到谷歌Nexus One手机。它是一种新的手机,直接从谷歌运 - 没有安装任何应用程序呢。 (我有Windows XP) 以下是我迄今所做的:

  • 随后在设置设备的发展给予对Android开发者网站上的说明: <一href="http://developer.android.com/guide/developing/device.html">http://developer.android.com/guide/developing/device.html

  • 补充的android:可调试=真正的我的应用程序清单

  • USB调试的检查在手机上

  • 下载的设备驱动程序对于Windows版本3(该支持的Nexus One手机)

  • 通过硬件安装向导又到安装设备 - 该设备显示为Android的复合亚行界面

当我在shell中运行ADB设备,该设备显示了一会儿,然后消失。 在Eclipse控制台,我得到以下信息: [2010-11-13 11点54分42秒 - 设备监视器]未能开始监视

我已经重新启动了电脑几次,卸载和重新安装驱动程序几次,但我一次比一次同样的错误。当我在研究这个问题,有人建议重新启动手机。我有点由困惑 - 是软还是硬重启?难道我刚通电的手机关机/对,是有一些更复杂的参与?我一定要硬重启它重置为出厂版本 - 即使它的全新

有没有人遇到过类似的问题?任何帮助将是巨大的。 我无法测试我的设备上的应用程序,如果亚行不能查看设备。在此先感谢这么多。

解决方案

我有同样的问题

。得到它的工作,做到以下几点:

  1. 关闭Eclipse
  2. 开启任务管理器,并杀死了 adb.exe 程序。
  3. 重新打开Eclipse(Eclipse将自动重启adb.exe服务)

运行 ADB设备在命令提示符下,你应该看到类似以下内容:

  C:\&GT; ADB设备
设备名单附后
0123456789ABCDEF设备
 

当然,我假设你有你的手机插入到您的计算机。

I am running Android SDK 2.2 and am trying to get the adb to connect to the Google Nexus One phone. Its a new phone, shipped straight from Google - haven't installed any apps on it yet. (I have Windows XP) Here is what I have done so far:

  • Followed the instructions on setting up the device for development as given on the Android Developer's site: http://developer.android.com/guide/developing/device.html

  • added android:debuggable="true" to my application manifest

  • USB debuggable is checked on the phone

  • downloaded the Device Drivers For Windows Revision 3 (this supports Nexus One phones)

  • Went through the Hardware Installation wizard to install the device - the device shows up as "Android Composite ADB Interface".

When I run adb devices on the shell, the device appears for a moment, then disappears. On the Eclipse console, I get the following message: [2010-11-13 11:54:42 - DeviceMonitor]Failed to start monitoring

I have rebooted the pc several times, uninstalled and reinstalled the drivers several times, but I get the same error each time. As I was researching this problem, someone had recommended rebooting the phone. I am a bit confused by that - is that a soft or hard reboot? Do I just power the phone off/on and is there something more complex involved? Do I have to hard reboot it to reset to factory version - even though its brand new?

Has anyone run into a similar problem? Any help on this would be great. I can't test my application on the device if the adb cannot view the device. Thanks so much in advance.

解决方案

I had this same problem. To get it working, do the following:

  1. Close Eclipse
  2. Open Task Manager and kill the adb.exe program.
  3. Re-open Eclipse (Eclipse will automatically restart the adb.exe service)

Run adb devices from a command prompt and you should see something like the following:

C:\> adb devices
List of devices attached
0123456789ABCDEF        device

Of course, I'm assuming you have your phone plugged into your computer.

这篇关于不能Nexus One手机连接到Android ADB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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