18

I want to deploy on several emulator devices in android studio. Just for testing it on different devices. Is it possible?

boris_dev
  • 232
  • 3
  • 12

1 Answers1

29

Yes, it is possible.

  1. Start a few emulators.
  2. Create run configuration that shows chooser dialog (target device). Run configuration
  3. Run configuration.
  4. Select all running emulators when Android Studio asks. Emulator selection

This will work only for non debug Android Application configuration, it will not work for Android Tests or debug configurations.

You can also run Gradle command connectedCheck to run tests on all devices outside of Android Studio.

Grzegorz Żur
  • 47,257
  • 14
  • 109
  • 105
  • +1 for the connectedCheck command to run the tests. UI Support is not integrated, but gives link to the HTML summary file which is nice – JCricket Nov 18 '15 at 16:54
  • Worth mentioning, you need to create separate AVDs for each emulator instance. – Dennis K Apr 21 '16 at 18:25
  • 2
    Thanks - didn't even think about selecting all the emulator in the chooser and clicking on OK. What a simple solution. – Simon Oct 02 '16 at 08:54