device-api/src/main/java/com/github/cosysoft/device/android/impl/AbstractDevice.java
public String pullDump2PC() {

    String serial = device.getSerialNumber();
    File dest = new File(FileUtils.getTempDirectory(), serial
        + ".xml");
    String path = dest.getPath();
    log.debug("pull dump file to pc's path {}", path);

    CommandLine commandpull = adbCommand("pull", "/data/local/tmp/local/tmp/qian.xml", path);
    String out = executeCommandQuietly(commandpull);
    log.debug("pull dump file to pc's result {}", out);
    return path;
  }
public String pullDump2PC() {

    String serial = device.getSerialNumber();
    File dest = new File(FileUtils.getTempDirectory(), serial
        + ".xml");
    String path = dest.getPath();
    log.debug("pull dump file to pc's path {}", path);

    CommandLine commandpull = adbCommand("pull", "/data/local/tmp/local/tmp/qian.xml", path);
    String out = executeCommandQuietly(commandpull);
    log.debug("pull dump file to pc's result {}", out);
    return path;
  }
pull dump file from android device to pc

@return pc dump file path