adb或appium下多设备中指定设备的启动

一、先用adb devices列出所有设备序列号 

List of devices attached
012BDC7N78954789 device
132AEC8N57897458 device

二、进入指定设备的shell

adb -s 序列号 shell

比如:

adb -s 012BDC7N78954789 shell

三、appium下启动指定设备

找到appium安装目录下appium.cmd文件,把这个目录加入环境变量。

appium.cmd -U 序列号

比如:

appium.cmd -U 012BDC7N78954789

原文地址:https://www.cnblogs.com/xmlbw/p/5241325.html