LogCat & Console stopped working with Eclipse Android Emulator

倾然丶 夕夏残阳落幕 提交于 2019-12-05 01:02:32

I was having a similar error and it was driving me crazy. I just got it to work by doing the following steps:

  1. In a shell or command prompt run: adb kill-server
  2. Unplug the USB cable from the device and plug it back in.
  3. Open the devices view (Window -> Show View -> Other -> Android -> Devices)
  4. Click on the device on the android devices view.

I tested this for the emulator and it works if you relaunch the emulator instead of step 2.

Another way I got it to work was to restart Eclipse. But that's not usually ideal.

Note: Logcat would stop working any time I disconnected the usb cable from my android device (similar to killing an emulator).

I recognize this might not fix your initial issue, but it might help others who stumble on this question.

Paulo

I also had the same problem, install the SDK even three times as TT, but the solution is to go to the folder android-sdk-windows, then platform-tools, and double click adb and ready!

Clean project with Project/Clean...

deleting the emulator and creating a new one did the job for me. Even in my case a faulty code or a secret infinite loop, i think is the problem. i tried out something and logcat failed to boot up since then.

Zekitez

Most likely you have 2 instances of Eclipse running (I did). (On Windows) Exit eclipse then check with the Task Manager if there is another eclipse. End it as well as any image name "adb".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!