I'll add a comment:  we want the resolvedPath (e.g. "/sdcard") not the path (e.g. "$EXTERNAL_STORAGE") so the caller can do push/pulls (e.g. "adb pull /sdcard/foo").