Search code examples
androidshellwindows-7emulationadb

ADB rejected shell command (ls -l /data)


I keep getting

ADB rejected shell command (ls -l /data):

and the command prompt when running adb shell tells me error: device not found although the emulator is open.

What I am doing wrong?


Solution

  • I assume you run adb from the command-line. Just do a adb kill-server and a adb start-server. After that your device(s) should be visible.