How to embed android emulator inside Android Studio?

Viewed 5250

I know that an embedded emulator has been introduced in Android Studio 4.1+. I am not able to see options to enable it.

2 Answers

The changelog says that you need to enable it manually. Follow these steps:

Steps

  1. Open Android Studio and goto Preference / Settings

Open Android Studio and goto Preference

  1. Expand the Tools tab and goto emulator
  2. Check 'Launch in a tool window'

Expand the Tools tab and goto emulator then check 'Launch in a tool window'

Apart from the previous, if you dont't see the emulator tab in IDE: I found that adding a "<module fileurl="file://$PROJECT_DIR$/android/..." line in Project directory, file .idea/modules.xml the tab appears:

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
    <component name="ProjectModuleManager">
        <modules>
            <module fileurl="file://$PROJECT_DIR$/renal_calc_flutter.iml" filepath="$PROJECT_DIR$/renal_calc_flutter.iml" />
            <module fileurl="file://$PROJECT_DIR$/android/renal_calc_flutter_android.iml" filepath="$PROJECT_DIR$/android/renal_calc_flutter_android.iml" />
        </modules>
     </component>
 </project>
Related