diff --git a/src/android/utils/adb.ts b/src/android/utils/adb.ts index 3d0a81f..c8432f1 100644 --- a/src/android/utils/adb.ts +++ b/src/android/utils/adb.ts @@ -289,7 +289,7 @@ export function parseAdbDevices(output: string): Device[] { for (const line of lines) { if (line && !line.startsWith('List')) { - const m = line.match(re); + const m = line.replace(/\r$/, '').match(re); if (m) { const [, serial, state, description] = m;