Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy on several emulators in android studio

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

like image 921
boris_dev Avatar asked Sep 03 '13 12:09

boris_dev


1 Answers

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.

like image 163
Grzegorz Żur Avatar answered Oct 23 '22 10:10

Grzegorz Żur