Search code examples
androidandroid-emulatoradbandroid-sdk-tools

Android adb Unable to pull from emulator


I am trying to pull a screen-capture from emulator using following command and getting an error displayed below the command :-

$ adb shell pull /sdcard/screencap.png 

Error :-

/system/bin/sh: pull: not found

screencapture is working and I can see the file on the emulator. I have setup the android sdk path in in my .bashrc as :-

export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools

Solution

  • You should use adb pull, not adb shell pull.