The project template in flutter_tools is no longer creating an Android module
See original GitHub issueEmulator not opening inside the windows toolbar.
Steps to Reproduce
- I turned on “Launch in a tool window” in settings
Tools/Emulator
- Started the emulator using AVD window.
- Instead of opening the emulator inside the toolbar(right toolbar), it is opening independently.
Version info
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19042.928], locale en-IN) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [√] Chrome - develop for the web [√] Android Studio (version 4.1.0) [√] VS Code (version 1.55.2) [√] Connected device (2 available)
• No issues found!
S:\project-name>flutter doctor -v [√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19042.928], locale en-IN) • Flutter version 2.0.3 at S:\flutter • Framework revision 4d7946a68d (7 weeks ago), 2021-03-18 17:24:33 -0700 • Engine revision 3459eb2436 • Dart version 2.12.2
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at C:\Users\Anbu\AppData\Local\Android\sdk • Platform android-30, build-tools 30.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[√] VS Code (version 1.55.2) • VS Code at C:\Users\Anbu\AppData\Local\Programs\Microsoft VS Code • Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (2 available) • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93 • Edge (web) • edge • web-javascript • Microsoft Edge 90.0.818.51
• No issues found!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:9 (3 by maintainers)
Top GitHub Comments
Something has changed in the project template used by the
flutter
tool to generate projects.It appears possible to work around the problem, but it might be risky so proceed with caution. The steps. are:
File > Project Structure
).Modules
in the list.+
to add a new module of typeAndroid
.(This view is from a Mac. The
+
may be located elsewhere for Windows. If you have theDependencies
tab selected then it will also have a+
and that one is not what you want.)You don’t need to change the defaults. Click
OK
, and you should see theEmulator
tab appear in the right tool window bar.This issue is fixed by upgrading to Bumblebee.