Testing multiple Android devices on one machine

后端 未结 4 1806
误落风尘
误落风尘 2021-02-15 11:48

I have two different Android devices plugged into the same machine. What I would like to do is to target each device and execute a test on it separately.

Unfortunately,

4条回答
  •  清歌不尽
    2021-02-15 11:57

    In the new Android Studio Artic Fox (it would have been Android Studio 4.3 in the previous numering system and at this moment is still in beta) you can run the tests in multiple machines at the same time.

    https://developer.android.com/studio/preview/features?utm_source=android-studio-2020-3-1&utm_medium=studio-assistant-preview#instrumentation-testing

    To take advantage of this feature:

    1. Choose Select Multiple Devices in the target device dropdown menu (in the top-center of the IDE).

    1. Select the target devices and click OK.

    1. Run your tests.

    To view your test results in the Run panel, go to View > Tool Windows > Run.

提交回复
热议问题