Ionic run android on multiple devices

How to run .apk on multiple android devices?
I have connected smartphone and tablet on laptop and I want to run my app on both devices with command “ionic run android”. Is it possible to run on specific device (when are both connected) or on both devices at same time?

It seems possible (I did not try) if you specify the device :

ionic run android --target=XXXX

where XXX should be replaced by the device id listed by

adb devices
1 Like

Thanks, it works.

So for now I build on this way

ionic run android --target=id1 & ionic run android --target=id2
2 Likes