adb kill-server
Summary: Introduce a new command to allow killing adb Reviewed By: antonk52 Differential Revision: D47988522 fbshipit-source-id: bb4f17faa7f9b31b9d42e45c0ce39b3f5d98f4b3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
af7c1c7e74
commit
d43173a8df
@@ -267,6 +267,10 @@ export class AndroidDeviceManager {
|
||||
}
|
||||
}
|
||||
|
||||
async adbKill() {
|
||||
await this.adbClient.kill();
|
||||
}
|
||||
|
||||
private handleOfflineDevice(device: Device): void {
|
||||
console.warn(
|
||||
`[conn] Found device ${device.id}, but it has status offline. If this concerns an emulator and the problem persists, try these potential solutions: https://stackoverflow.com/a/21330228/1983583, https://stackoverflow.com/a/56053223/1983583`,
|
||||
|
||||
Reference in New Issue
Block a user