why LogCat and AVD Manager missing in Android Studio when flutter project is opened - android-studio

In Android Studio 3.5.3 , the menu Tools->AVD Manager and View->Tools Windows->Logcat is not available when a newly(or existing) flutter project is opened.
I looked at https://github.com/flutter/flutter-intellij/issues/2159 , and
<module type="JAVA_MODULE" version="4">
is in the outer most iml file.
Please suggest how to find/enable it. For now I have to open an Android project to open these two menu items.

LogCat won't appear for a flutter project and does not seem to be available to enable in the current version of Android Studio. If you open an Android project in another window, THAT window will have LogCat which can be connected to the device you are trying to debug.
AVD Manager does not have a menu item in Flutter but is available from an icon in the toolbar. See picture.
It's also worth checking out DevTools, which opens up in the browser, as an additional (not LogCat) debugging resource. The button to this is found in the Run Window when you are running an app.

There two ways to find or unable it
1. Go to the View-> Tool Windows and you can choose whatever you want to put in Tool WindowBar
2. Go to the View-> And Tick or select on Tool Window Bars
After doing that you can see the logs for particular apps, And for AVD manager...
Go to the Tools-> AVD Manager

Related

Flutter Inspector and Widget Tree not loading in Android Studio

I have installed latest version of Android Studio as well as all the necessary plugins such as Dart and Flutter. When I run an application and hit the Flutter Inspector tab on the right side of the screen, the Flutter Inspector window pops up with a message saying "The JxBrowser license could not be found".
I have tried all the workarounds indicated in this thread but were to no avail.
Is there anything I missed about the JxBrowser or something?
I've experienced the same message. But I think I've found a temporal way to use the inspector on Android Studio without Layout Explorer (Visualization part for widgets) before Flutter team fixing it.
Go to Preferences > Languages & Frameworks > Flutter and uncheck Enable embedding DevTools in the Flutter Inspector tool window
Then you can use it without Layout Explorer inside Android Studio.
But, if you have to use such a Layout Explorer, then you can use the DevTools in the browser.

How to make my emulator shows up outside of my android studio?

Recently, I updated my android studio to bumblebee version, and when I run my codes, I realized that my emulator are shown inside of my android studio instead of creating a new window for the emulator. you can see what I mean, here.
does anybody knows how to fix this? I already tried to change the settings but nothing is changed. should I reverse the update?
I had the same issue, to resolve it do the following:
In Android Studio: click on
File,
Settings,
Click on the Tools dropdown,
Emulator,
uncheck the "Launch in a tool Window" box
Settings with Launch in a tool window checkbox

Android Virtual Device does not appear anyone in my tools menu, how do I get it to appear?

I'm trying to run a simple reactive native tutorial, but I can't even get the AVD to load in Android studio. I've attached a screenshot of my settings
I'm 100% sure that I clicked on custom install and clicked on the AVD option.

Navigation to the Android Studio Tools on Welcome Screen

I am sort of lost on where to find the Tools Menu in Android Studio.
According to this link https://developer.android.com/studio/run/managing-avds.html, I do not have to run an Android Studio project in order to launch the AVD Manager.
Currently, I am on Android Studio Version 3.0 Beta 6.
I would like some guidance on where the Tools Menu is located in which the link above mentions. Pictures would really help and are much appreciated.
While you do not have to run a project to access the AVD manager, you cannot access it in the welcome screen. You must first create or open a project and then you should be able to find what the link is referring to.

Logcat tab missing from debug window in Android Studio

Somehow I closed the logcat tab from the debug window and now I am unable to get it back.
In Run->Configuration->Logcat I have everything checked.
I do have the logcat tab in Android Monitor window, but not in Debug.
How can I get it back?
I created a bug on on their bug-tracker: https://youtrack.jetbrains.com/issue/IDEA-144525
I think with the release of Android Studio 1.4 the logcat tab has been removed from the Debug view. Now I believe the only place to access it is by opening the Android Monitor view by pressing Alt+6 on Windows or CMD+6 on Mac.
Release notes of Android Studio 1.4 Beta 3 allude to this:
Logcat view mostly rewritten to address a number of stability and usability bugs
In Android Monitor window, click the little tiny button on the top right corner.
No one has seemed to mention this, but make sure you are inside the "android" directory and not the root directory of your project (React Native). Logcat will not display otherwise.
Click on Android Monitor at the bottom of the screen.
and then you should see there are a tab call "Logcat" next to "Memory" tab.
In Android Studio 3.5.2, Logcat can be shown from View > Tool Windows > Logcat
For some reason in a specific project, it wasn't found using this way, but I could fix it as following:
File > Project Structure > Facets > Add > Android > my_module
While I would be a little late for the party, it has been a few years and new version of Studio.
Today when you encounter the bug, your logcat would not be shown, to resolve this you would need to follow these steps:
Menu -> Build -> Make Project
in your settings.gradle comment out everything and sync.
uncomment everything and sync again.
Menu -> Build -> Make Project
Once the project build is done.. your Studio would be ready.
I have encountered several different bugs related to this issue, this scenario covers most of these cases.
Given solutions not worked for me.
I found another solution
Click
View-> Tool Windows -> Logcat
Then the missing Logcat tab appears again.
Android Studio IDE version: (Android Studio Electric Eel | 2022.1.1 Canary 8)
It was working fine and it disappeared suddenly.
After nothing else worked, I ran adb devices to see if my device was correctly attached and TA DA.
adb server wasn't running and started automatically and Android Studio started to show Logcat as always.
➜ adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
0030713775 device
press alt 6.
If you still don't see it there should be a little icon in the top-right corner of the view, press that.
Top Menu:
View -> Tool Windows -> Logcat
Bottom bar:
View -> Appearance -> Tool Windows Bar

Resources