问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/2236054/adb-rejected-shell-command-ls-l-data