使用monkeyrunner 自动化删除程序的时候出现如下错误

在任务管理器卸载android adb,Ok。。然后再次使用的时候就出现这个问题,

Try below steps:

  1. Close the Eclipse if running
  2. Go to the Android SDK tools directory in Command Prompt
  3. type adb kill-server
  4. then type adb start-server
  5. No error message is thrown while starting ADB server, then adb is started successfully.
  6. Now you can start Eclipse again.

应是adb.exe进程的问题,关掉,重新启动。

有没有什么方式可以不出现这种情况呢?