Trying to install app on real device following instructions:- http://developer.android.com/tools/device.html. At end Android Studio giving error:
Session \'a
I fix this by delete the build folder then run project again
I changed my USB port and that fixed it for me.
It was written above: in my case it was just out of memory on device storage. Add more empty space - and error will disappear
My problem was that I didn't accept the connection from the computer after turning on remote debugging. Once I accept the mac address, it went away. Silly mistake, but I didn't see the dialog box the first time. Worth a quick check if the others don't resolve the issue. But likely only a problem the first time you set up a phone.
Try to remove the .idea folder and .gradle folder, then click Sync Project with Gradle Files, when the process finished, try to run app again.
Hope it works.
Usage of easily changing variable value will often happen in build.gradle(like the Date)