How to resolve “Waiting for Debugger” message?

前端 未结 30 1981
眼角桃花
眼角桃花 2020-11-27 02:42

I have HTC Comet connected to Eclipse with SDK 2.2. I do a debug build - the application does not run; though it does get installed on the device. On the device I get this m

相关标签:
30条回答
  • 2020-11-27 03:34

    I solved this issue this way:

    Go to Run menu ====> click on Edit Configurations ====> Micellaneous and finaly uncheck the option Skip installation if APK has not changed

    0 讨论(0)
  • 2020-11-27 03:34

    If your development environment is Windows make sure the USB drivers are correctly installed.

    One way to ensure that the USB drivers are installed correctly is to get the PDANet Windows installer and let it install the USB drivers.

    You can find the PDANet page here.

    0 讨论(0)
  • 2020-11-27 03:36

    In Debug mode Android Studio connects to your Device via socket(:8600). Somehow your socket connection is choked and thus not responding to incoming connections.

    Restart Android Studio and your problem will be resolved

    0 讨论(0)
  • 2020-11-27 03:37

    I would try to connect to the phone with ddms on its own without Eclipse. You might be running an emulator inside eclipse that you dont see or have some other problems with Eclipse.

    Just run ddms from a command prompt and see if the device appears and you can connect to it.

    You can also see if appears when you run adb devices and see that your phone is listed (and maybve something else..)

    0 讨论(0)
  • 2020-11-27 03:38

    Running Android Studio, I ran into this problem and after trying various remedies restarting Android Studio is what appeared to fix the problem.

    0 讨论(0)
  • 2020-11-27 03:38

    My solution is to use the Dalvik Debug Monitor. Sometimes there is a red or green bug beside a process. Click on the device you're trying to load to. Select the Actions tab and reset adb. This usually attaches the debugger for me. I find that doing debugging through this Monitor works better for me than using the Android Eclipse plugin Logcat.

    0 讨论(0)
提交回复
热议问题