close

[Solved][!] Android Studio (not installed), when run flutter doctor while Android Studio installed on machine

Hello Guys How are you all? Hope You all are fine. When I was trying to run flutter doctor command I found [!] Android Studio (not installed) in flutter while android studio is already installed. So today Here I come with all possible solutions for this error.

We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.

Why Flutter doctor showing Android Studio (not installed) while Android Studio installed ?

When I was trying to run flutter doctor command I found [!] Android Studio (not installed)in flutter while android studio is already installed

[!] Android Studio (not installed)

flutter doctor output:

How to Solve Android Studio (not installed) in flutter?

Question: How to Solve Android Studio (not installed)?
Answer: To solve this issue You just need to flutter the config to set the android studio path. Just follow the below command line to flutter config android studio. if your Android Studio install by default, you can use this command. If you customized android studio installation folder then just use below comand.

Solution 1

For Windows Users

You just need to flutter config to set android studio path. Just follow below command line to flutter config android studio.

if your Android Studio install by default, you can use this command

If you customized android studio installation folder then just use below comand.

In Linux (Ubuntu)

Note: for those who are facing the problem in Ubuntu and Android Studio is installed with snap:

Note: for those who are facing the problem in Ubuntu and Android Studio is installed with JetBrains Toolbox:

In macOS

double clicking the downloaded file IDE and move the Android Studio program into the applications folder.

then run Flutter Doctor and followed all prompts. This works on MacOS only.

Solution 2

  1. Android Studio is installed and you can run it, so when it boots up, select configure:
Android Studio (not installed) in flutter,
Android Studio (not installed), when run flutter doctor while Android Studio installed on machine,
Android Studio (not installed),
Android Studio (not installed), when run flutter doctor
  1. In dropdown list open “plugins”
  2. Search for “flutter” and install this plugin together with dart.
  3. Restart the Android Studio and open a new terminal.
  4. You should be able to create a flutter project in Android Studio and “flutter doctor” should work now.

Solution 3

You can use below command in command prompt

flutter config –android-studio-dir=””

Summery

So, It’s All About How to use Conditional statement in widget in flutter. I hope this tutorial helps you to add Borders to your Widget. Please Comment Below if You stucks anywhere with my code.

Also Check Out Below Tutorials

Leave a Comment

%d bloggers like this: