question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The project template in flutter_tools is no longer creating an Android module

See original GitHub issue

Emulator not opening inside the windows toolbar.

Steps to Reproduce

  1. I turned on “Launch in a tool window” in settings Tools/Emulator
  2. Started the emulator using AVD window.
  3. 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:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
stevemessickcommented, May 10, 2021

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:

  • Open the Project Structure dialog (File > Project Structure).
  • Select Modules in the list.
  • Click the + to add a new module of type Android.
Screen Shot 2021-05-10 at 8 28 39 AM

(This view is from a Mac. The + may be located elsewhere for Windows. If you have the Dependencies 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 the Emulator tab appear in the right tool window bar.

0reactions
salmankhiljicommented, Jan 27, 2022

This issue is fixed by upgrading to Bumblebee.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio not showing modules in project structure
First, create your Module . You can do that using the default Android Studio Module Wizard ( File ...
Read more >
Android Studio and IntelliJ - Flutter documentation
To create a new Flutter project from the Flutter starter app template: In the IDE, click New Project from the Welcome window or...
Read more >
Projects overview - Android Developers
When you create a new project, the default module name is "app". ... Each provides essential files and some code templates that are ......
Read more >
5 best Flutter tools for efficient development - Applover
It works similarly to Android Studio templates but Mason is more powerful. With Mason, we can generate a few files or even whole...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found