質問

Following on from ADB not recognising Nexus 4 under Windows 7 I am having problems getting the Eclipse android development environment to recognise my new Nexus 4. My privious Nexus S had no problems.

I believe I have followed all the advice in this previous post but am still stuck.

Can anybody who has succeeded getting the nexus 4 available for android development on windows 7, tell me what their driver detail are for the "Android Composite ABD Interface"? Mine say: * Driver Provider: "Google Inc" * Driver Date: 27/08/12 * Driver Version: 7.0.0.1

When my phone storage is set to either PTP or MTP, I still can't see it through the eclipse "android virtual device manager".

When set to PTP, if I run the "adb devices" command described in the linked article, I do get an entry appearing in the dos box, but nothing in the "android virtual device manager" in eclipse.

役に立ちましたか?

解決 5

Your Nexus 4 isn't a virtual device, so won't show in Virtual Devices Manager.

If you open the Devices view, then you should see your Nexus 4 listed, and when you run your app it should prompt for running it on as physical or virtual device.

他のヒント

The solution is to connect your device with PTP instead of MTP and, it works. Connected devices are not visible in AVD manager. AVD manager is for emulators. To show connected devices, you use only ADB with this command :

adb devices

Uninstall the device driver completely from Windows and re-install it.

If you dont see the device in the Devices lists:

First, you need to make sure USB debugging is enabled on your device. Settings->DeveloperOptions: Turn on debugging and enable USB debugging. Ideally, you will install the USB drivers from google, and it will work fine: http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver. There are some cases that new installation may mess up the device connection. You may want to try these:

  1. It may lost the connection, so you can try:
     adb kill-server
     adb start-server 
     adb devices
  1. Updating to new tools may mess up the settings: Go to Storage Options and try to set as Media(MTP) or Camera(PTP) connection. Swtiching to one of them will help

  2. Revoke authorizations, disable usb debugging and then enable

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top