我在adb中检测到2个设备.一个来自我的genymotion,另一个来自我的真实设备:
$ adb devices
List of devices attached
192.168.57.101:5555 device
e78ab88d device
Run Code Online (Sandbox Code Playgroud)
我想运行我的离子应用程序e78ab88d device.我怎样才能实现这一目标?如果我运行ionic run android,它会自动在我的genymotion设备上运行.它说,没有指定目标.
img没有指定目标
在特定设备上运行什么命令?
Ran*_*ira 66
使用目标设备ID运行,例如:
ionic run android --target=e78ab88d
Run Code Online (Sandbox Code Playgroud)
编辑
使用新的Ionic 3 CLI:
ionic cordova run android --target=e78ab88d
Run Code Online (Sandbox Code Playgroud)
有关所有可用设备的列表,请使用:
ionic cordova run android --list
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
27481 次 |
| 最近记录: |