diff --git a/renderdoc/replay/entry_points.cpp b/renderdoc/replay/entry_points.cpp index 336dd2f49..23b7c6f39 100644 --- a/renderdoc/replay/entry_points.cpp +++ b/renderdoc/replay/entry_points.cpp @@ -544,6 +544,16 @@ bool IsHostADB(const char *hostname) string adbExecCommand(const string &args) { string adbExePath = RenderDoc::Inst().GetConfigSetting("adbExePath"); + if(adbExePath.empty()) + { + static bool warnPath = true; + if(warnPath) + { + RDCWARN("adbExePath not set, attempting to call 'adb' in working env"); + warnPath = false; + } + adbExePath.append("adb"); + } Process::ProcessResult result; Process::LaunchProcess(adbExePath.c_str(), "", args.c_str(), &result); RDCLOG("COMMAND: adb %s", args.c_str());