Skip to content

fix: adb ime check failed when multiple devices#379

Open
wang0618 wants to merge 1 commit intozai-org:mainfrom
wang0618:fix-adb-ime-check-error-on-muti-devs
Open

fix: adb ime check failed when multiple devices#379
wang0618 wants to merge 1 commit intozai-org:mainfrom
wang0618:fix-adb-ime-check-error-on-muti-devs

Conversation

@wang0618
Copy link

问题

当连接了多个adb设备时, adb shell ime list -s 会返回错误 adb: more than one device/emulator , 需要使用 adb -s DEV_ID 来指定设备,由于命令行参数中已经支持指定adb device id, 因此直接将此id传入即可。

另外,当用户在命令行参数指定了 adb device id 之后,也额外检查了获取到的adb设备列表中是否存在用户指定的 device。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant