Nexus 5 will not show in Eclipse

二次信任 提交于 2019-11-28 09:17:59
Aakash

Try these steps and see if the device is recognized.

First check if you have Developer Options in the Settings Menu of your device.

If not - (Please know that in flagship nexus devices running 4.2 and later Android OS this option is hidden by Google on purpose)

How to Enable developer options - Go to Settings --> About Phone --> Build Number (Tap the build number 7 times) this should enable your Developer Option

Turn on USB Debugging

Connect your Nexus 5 to your computer using the USB cable.

If at this point Eclipse do not recognize it. Try to start a command prompt on Windows by pressing Ctrl + R and type cmd and enter.

Navigate to where you have installed your Android SDK folder where you have your adb.exe.

For me this is at C:\Program Files (x86)\Android\android-sdk\platform-tools\

Do a cd C:\Program Files (x86)\Android\android-sdk\platform-tools - enter

then type adb devices while your nexus 5 is attached to your computer. this should restart the adb server killing any stale session. At this point you should receive instructions on your device about RSA fingerprint etc. Just accept it and Eclipse should be able to communicate with your device.

Edit:

You may need to install adb drivers after following aforementioned procedure. Download universal adb driver installer from here and execute it. It would automatically detect your phone model and will install drivers.

Happy Coding..

For windows 8 64 bit

Download USB driver from here http://developer.android.com/sdk/win-usb.html#top

Connect your Android-powered device to your computer's USB port.
Right-click on Computer from your desktop or Windows Explorer, and select Manage.
Select Devices in the left pane.
Locate and expand Other device in the right pane.
Right-click the device name (such as Nexus S) and select Update Driver Software. This will launch the Hardware Update Wizard.
Select Browse my computer for driver software and go to the usb driver folder which downloaded from above provided link.
(or)
if you installed usb driver from sdk manager. locate the USB driver folder. (The Google USB Driver is located in \extras\google\usb_driver.)
Click Next to install the driver.

Follow the above steps this worked for me for more information visit here http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver

PM89

First, uninstall through the device manager and check the delete check box before reinstalling.

Then install from here: \sdk\extras\google\usb_driver

It will now work.

Solution comes from this site: http://www.techotopia.com/index.php/Testing_Android_Applications_on_a_Physical_Android_Device_with_ADB

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!