Categories
adb android emulation shell windows-7

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?