Run the Emulator directly in Android Studio

In Android Studio 4.1, a minor feature is released to reduce the screen (or window) switching between Android Studio and the Emulator. Using this feature, we can now run the Emulator directly inside the Android Studio.

android studio emulator tool window

We can make the changes to the code and see the changes reflect in the emulator in the same window similar to layout XML and its preview.

To achieve this, open the Preferences window and select the Emulator menu item under the Tools expandable menu. Here we can check the option Launch in a tool window and click OK.

android studio emulator tool window settings

Now run the Emulator to see it inside the Android Studio window.

Popular posts from this blog

How to Read Metadata from AndriodManifest File

Add Spacing to Recycler View Linear Layout Manager Using Item Decoration

Add Options Menu to Activity and Fragment

Create Assets Folder, Add Files and Read Data From It

How to Set an Android App as a Default Dialer