Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter project on android Studio 4.2.1 no database inspector, profiler and emulator window

Two months and no answer. Am I the only one having this problem? Yesterday I downloaded and installed Android Studio Arctic Fox 2020.3.1 on my new laptop (Windows 10 64 bit, i7-8565U) and HAVE THE SAME PROBLEM AGAIN!! Android projects I have all tools, Flutter project missing emulator window, database inspector and profiler!

Android Studio 4.2.1 on Windows 10. Latest stable Flutter version. If I create an Android project I have all tools: database inspector, profiler and the emulator window. If I create a Flutter project I have no database inspector, no profiler and no emulator window. Flutter doctor gives no error. Everything worked fine until the upgrade to 4.2.1 What's going on? Thank you

like image 544
emiliano67 Avatar asked May 21 '21 04:05

emiliano67


People also ask

How do I enable emulator on flutter?

Choose Device: Open your VS Code and from the bottom right corner of your home screen click on the Flutter Device option. Select Device: When you click on the Flutter Device icon, list of available devices will open up in the command palette. Select the emulator you just created.

Where is the database inspector?

Open the Database Inspector Note: A known issue related to the Android 11 emulator causes apps to crash when connecting to the DB Inspector. To fix the issue, follow these steps. Select View > Tool Windows > App Inspection from the menu bar. Select the Database Inspector tab.

Can I run flutter project in Android Studio?

Step 1: Open the Android Studio and select Tools from the menu bar and click on SDK Manager. Step 2: In the newly open window click on the plugins and in the search bar search for Flutter and Dart and then install it. Step 4: Now after installing Flutter and Dart we are ready to import a Flutter project.


Video Answer


1 Answers

I've had this issue and been following this question from the time you posted it. Finally found a solution to it on another SO question.

Solution: Enable the Android Facet It turned out that I had to enable the Android Facet for this project:

Go to File → Project Structure Choose Facets Press the small + Button at the top Select Android from the list Confirm your project by clicking the project_name and press OK

Please check out the full answer here: https://stackoverflow.com/a/68839489/8362593

I hope it works for you too.

like image 147
Chembe Banda Avatar answered Oct 23 '22 07:10

Chembe Banda