Skip to content

Display and control your Android device

Fix adb server vs adb daemon confusion

Romain Vimontb16d4d18359c
diff --git a/app/src/server.c b/app/src/server.c
index 4e70c4d9..2c0779d9 100644
--- a/app/src/server.c
+++ b/app/src/server.c
@@ -805,7 +805,7 @@ run_server(void *data) {
// is parsed, so it is not output)
bool ok = sc_adb_start_server(&server->intr, 0);
if (!ok) {
- LOGE("Could not start adb daemon");
+ LOGE("Could not start adb server");
goto error_connection_failed;
}
diff --git a/app/src/usb/scrcpy_otg.c b/app/src/usb/scrcpy_otg.c
index f469de1a..35d8d4cc 100644
--- a/app/src/usb/scrcpy_otg.c
+++ b/app/src/usb/scrcpy_otg.c
@@ -83,7 +83,7 @@ scrcpy_otg(struct scrcpy_options *options) {
#ifdef _WIN32
// On Windows, only one process could open a USB device
// <https://github.com/Genymobile/scrcpy/issues/2773>
- LOGI("Killing adb daemon (if any)...");
+ LOGI("Killing adb server (if any)...");
unsigned flags = SC_ADB_NO_STDOUT | SC_ADB_NO_STDERR | SC_ADB_NO_LOGERR;
// uninterruptible (intr == NULL), but in practice it's very quick
sc_adb_kill_server(NULL, flags);