I am running android adt bundle in ubuntu and I am unable to connect my Sony Xperia S and run the applications on it. I saw these pages for setting up the hardware device.I have set up the udev rules ,as stated in the instructions and I have been successful to run ./adb devices and it gives a result as

List of devices attached 
CB511YVUQC  device

Even if the usb device is being shown but i can't see it in the AVD of eclipse.

Please Help.Thanks.

有帮助吗?

解决方案

1.Please check Devices list from eclipse. Check this page also Android AVD not recognizing device but ADB does

2.try adb kill-server, adb start-sever

其他提示

Maybe, you need activate USB Debugging: Settings -> Applications -> Development - Enable USB Debugging

Put your phone in Mass Storage mode(The default USB connection mode is MTP). After that, either reconnect the USB cable or try resetting adb.

Reset ADB from within Eclipse, and your device should show up.

In Eclipse, open the 'DDMS' Perspective, in the 'Devices' tab, in the far right, there is a triangle, inside of that, select 'Reset ADB'

Go in platform-tools and type adb kill-server then adb start-server platform-tools is in your sdk in my case is E:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top