Android Eclipse failing to debug

后端 未结 8 1757
北海茫月
北海茫月 2020-12-10 01:41

Debugging of my app is now suddenly broken. It has been fine up to now and I even reloaded a known good version of my entire code and it still fails to debug or even run.

8条回答
  •  一整个雨季
    2020-12-10 02:29

    Occasionally Eclipse and the various Android development plug-ins will become out of sync. I usually attempt the following when debugging / development gets "funky"

    1. If your Logcat is not displaying lines, clear it. It has a small buffer. Also ensure that your device is selected in the "DDMS" perspective. If you have the emulator selected you will only receive logging from it.
    2. Clean and Rebuild all open projects. Ensure there are no errors.
    3. Uninstall the application from the remote device/emulator.
    4. Restart Eclipse!
    5. Open a terminal on your platform and use the tool adb in the "platform-tools" directory.

      adb kill-server
      adb start-server
      
    6. Stash your working copy and revert your source code if using a repository.

提交回复
热议问题