我在 adb 中检测到了两个设备,一个来自于我的 Genymotion 模拟器,另一个来自于我的真实设备:
$ adb devices
List of devices attached
192.168.57.101:5555 device
e78ab88d device
我想在e78ab88d 设备
上运行我的ionic应用程序。我该如何实现?
如果我运行ionic run android
,它会自动在我的genymotion设备上运行。它会显示"没有指定目标"。
img no target specified
在特定设备上运行的命令是什么?
adb devices
命令,你会看到所有设备。如果只有一个设备连接,那么这就是唯一的条目。 - Martijnionic
关键字:cordova run android --target=e78ab88d
。就像我的情况一样,这个命令对我有效。 - Alberto