Can I run the Android Emulator within (or on top of) the Android Studio window?

后端 未结 3 889
情书的邮戳
情书的邮戳 2021-02-07 06:19

I use Android Studio on macOS in full screen (maximised). When launching the Android Emulator, its window is shown on the regular desktop. This requires switching from one windo

3条回答
  •  无人及你
    2021-02-07 06:51

    With Android Studio 4.1 and above you can run the Android Emulator directly in Android Studio.

    To run the emulator in Android Studio, make sure you're using Android Studio 4.1 with version 30.0.10 or higher of the Android Emulator, then follow these steps:

    1. Click File > Settings > Tools > Emulator (or Android Studio > Preferences > Tools > Emulator on macOS), then select Launch in a tool window and click OK.

    2. If the Emulator window didn't automatically appear, open it by clicking View > Tool Windows > Emulator.

    3. Start your virtual device using the AVD Manager or by targeting it when running your app.

    For more info: Run the Android Emulator directly in Android Studio

提交回复
热议问题