ADB crashes when device attached with eclipse

2019-08-19 07:28发布

问题:

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 the 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.

回答1:

solution for this problem can be found here: http://code.google.com/p/android/issues/detail?id=12141



回答2:

Here are some questions that will help you diagnose this better:

  1. What version of Android do you have installed? 2.3? do you have the latest drivers installed that you can get from android website?
  2. 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?
  3. Did you try running this scenario with an older version say android 2.2?
  4. Are you using the right data cable? (in case you work with multiple devices from different manufacturers)
  5. And is the handset in USB mode? (something you can set on handset). What is the version of android on handset?