I am getting an error when i try to run my project
ddms]ADB rejected shell command (ls -l ): closed
I can not understand why this happens
The problem might be with Hardware Acceleration in Emulator — switching to Software acceleration in AVD manager helps, but it become unbelievably slow. Google devs state that they fixed the problem, but it didn't seem to fix my Emulator crash. I posted my info in the bug report. Let's wait for their answer.
I think what happens is that the adb's connection with the emulator breaks or becomes faulty, so android launches a new emulator although you have already an existing emulator for the same platform running. One way you can try to correct this problem is Go to DDMS-->Devices Tab-->Click the option "Reset adb" (which is the last option) . You will then see some error report in the console, but after a minute your emulator would be ready to be used . See if this works for you.
1.Try Cleaning all the projects ,Project--> Clean. 2. Opening the adb manually. 3.Just do a adb kill-server and a adb start-server.
Refer - ADB rejected shell command (ls -l /data)