If you have multiple devices connected, you can go to the devices drop down in Android Studio and, click "Select Multiple Devices...", then select the devices you'd like to run simultaneously. That device, should allow you to have multiple devices connected at once, as any 1-to-many USB splitter would.
(Android Studio Chipmunk | 2021.2.1 Patch 2)
I purchased the device and tried connecting two android devices, which have the application under test already installed, and then when I started the app from with in the IDE while giving both the device configuration given in the testNG.xml file, an error came up saying some session could not be started. I could not figure out what is the real reason.
As I could not run it with two devices, I am believing, it could not be done. If any one could suggest an answer, it is most welcome
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.