我可以在Android Studio窗口内(或上方)运行Android Emulator吗? [英] Can I run the Android Emulator within (or on top of) the Android Studio window?

查看:142
本文介绍了我可以在Android Studio窗口内(或上方)运行Android Emulator吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在全屏(最大)下在macOS上使用Android Studio.启动Android Emulator时,其窗口会显示在常规桌面上.这需要从一个窗口切换到另一窗口.我希望能够同时查看两个窗口,而不必在Android Studio中保留全屏模式.

是否可以将Android Emulator窗口移至我的Android Studio窗口内(或顶部)?

解决方案

使用Android Studio 4.1及更高版本,您可以直接在Android Studio中运行Android仿真器.

要在Android Studio中运行模拟器,请确保您使用的是Android Studio 4.1(版本为30.0.10或更高版本),然后按照以下步骤操作:

  1. 点击文件>设置>工具>模拟器(或在MacOS上为 Android Studio>首选项>工具>模拟器),然后选择在工具窗口中启动,然后点击确定.

  2. 如果没有自动显示模拟器"窗口,请单击查看>打开它.工具窗口>模拟器.

  3. 使用 AVD Manager 或在运行应用程序时定位虚拟设备来启动虚拟设备.

有关更多信息:

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 window to another. I'd like to be able to look at both windows at the same time, without leaving full screen mode in Android Studio.

Is there a way to move the Android Emulator window to within (or on top of) my Android Studio window?

解决方案

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

这篇关于我可以在Android Studio窗口内(或上方)运行Android Emulator吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆