Start the ADB server
mainAdvancedSharpAdbClient communicates with Android devices via the adb.exe server process. You must ensure the server is running before connecting to devices. You can start it programmatically using AdbServer.StartServer by providing the path to your adb.exe.
if (!AdbServer.Instance.GetStatus().IsRunning)
{
AdbServer server = new AdbServer();
StartServerResult result = server.StartServer(@"C:\adb\adb.exe", false);
if (result != StartServerResult.Started)
{
Console.WriteLine("Can't start adb server");
}
}