ADB crashes when device attached with eclipse
I am trying to get a development environment setup and having some problems with adb. I have eclipse installed and can create android projects and run/debug them in the emulator. But if I attached my device (HTC Evo) and try running on it, adb crashes. My device shows up so adb sees it. Everything is updated to t开发者_如何学JAVAhe latest version. I even went and reinstalled my system so I had a clean start. It would still crash when I connect to the device. I restart adb but it just shuts right back down.
Anyone have any suggestions on what I can do to fix this? Running on Windows 7.
solution for this problem can be found here: http://code.google.com/p/android/issues/detail?id=12141
Here are some questions that will help you diagnose this better:
- What version of Android do you have installed? 2.3? do you have the latest drivers installed that you can get from android website?
- Are you able to run "adb devices" command and see the handset serial number come up? Where you able to connect and run adb with another device?
- Did you try running this scenario with an older version say android 2.2?
- Are you using the right data cable? (in case you work with multiple devices from different manufacturers)
- And is the handset in USB mode? (something you can set on handset). What is the version of android on handset?
精彩评论