简体   繁体   English

让三星galaxy nexus adb工作

[英]getting adb for samsung galaxy nexus to work

I'm trying to debug my application on my brand new Galaxy Nexus. 我正在尝试在我全新的Galaxy Nexus上调试我的应用程序。
I have done the following: 我做了以下事情:

Drivers: installed the Galaxy driver installed the Galaxy Nexus driver (one can see this in the device manager, Galaxy under "Other Devices", Galaxy Nexus under "Portable Devices.") 驱动程序:安装Galaxy驱动程序安装了Galaxy Nexus驱动程序(可以在设备管理器中看到这个,Galaxy在“其他设备”下,Galaxy Nexus在“便携设备”下)。

I have also, on the phone, gone into settings->developer options and turned USB Debugging ON. 我也在电话中进入了settings-> developer选项并打开了USB Debugging。 I have also added the debug-mod option to my application's manifest. 我还在我的应用程序清单中添加了debug-mod选项。

now I have navigated in my command prompt to the directory.. ...\\Android\\android.sdk\\platform-tools\\ and I now try to do the command 现在我已经在命令提示符下导航到目录.. ... \\ Android \\ android.sdk \\ platform-tools \\我现在尝试执行命令

adb devices. adb设备。

The result is: "List of devices attached" 结果是:“附加设备列表”

And then a blank line. 然后是一个空白行。

What have I done wrong? 我做错了什么?

I had the same issue and the steps I took to get it to work were as follows: 我有同样的问题,我采取的步骤如下:

  1. Disconnect the phone from PC. 断开手机与PC的连接。
  2. Uninstall the existing driver ("SAMSUNG USB Drivers for Mobile Phones" in Add or Remove Programs). 卸载现有驱动程序(“添加或删除程序”中的“SAMSUNG USB Drivers for Mobile Phones”)。
  3. Restart PC. 重启电脑。
  4. Download and install the drivers: http://www.samsung.com/us/support/owners/product/SCH-I515MSAVZW (Manuals & Downloads tab, Software) 下载并安装驱动程序: http//www.samsung.com/us/support/owners/product/SCH-I515MSAVZW (手册和下载选项卡,软件)
  5. Turn on USB Debugging in phone settings. 在手机设置中打开USB调试。
  6. Connect phone to PC. 将手机连接到PC。

You should see it install correctly, and in Device Manager you need to see Android Phone -> SAMSUNG Android ADB Interface. 你应该看到它安装正确,在设备管理器中你需要看到Android手机 - > SAMSUNG Android ADB界面。 If you don't see that, either the drivers aren't installed correctly or the phone isn't connected correctly. 如果您没有看到,则说明驱动程序安装不正确或手机未正确连接。

You can download the official OEM USB driver from here: 您可以从这里下载官方OEM USB驱动程序:

http://www.samsung.com/us/support/owners/product/SCH-I515MSAVZW http://www.samsung.com/us/support/owners/product/SCH-I515MSAVZW

The link from the OEM USB Drivers page, on the Android developers site, will bring you here. Android开发者网站上的OEM USB Drivers页面中的链接将带您到这里。 Install it, and all should work well! 安装它,一切都应该运行良好!

Hope it helps. 希望能帮助到你。

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

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