close
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

[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:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 2.1.0-12.1.pre, on Microsoft Windows [Version 10.0.19042.985], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[√] Chrome - develop for the web
[√] Xcode - develop for iOS and macOS (Xcode 10.3)
[!] Android Studio (not installed)
[√] Connected device (2 available)

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

Question:
Answer:

  1. How to Solve Android Studio (not installed)?

    To solve this Android Studio (not installed) 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.

  2. Android Studio (not installed)

    To solve Android Studio (not installed) 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

flutter config --android-studio-dir="C:\Program Files\Android\Android Studio"

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

flutter config --android-studio-dir="YOUR ANDROID STUDIO PATH"

In Linux (Ubuntu)

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

flutter config --android-studio-dir="/snap/android-studio/current/android-studio"

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

flutter config --android-studio-dir=/home/myuser/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882

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 solve your error. Please Comment Below if You stucks anywhere with my code.

Also Check Out Below Tutorials


Posted

in

by

Comments

8 responses to “[Solved][!] Android Studio (not installed), when run flutter doctor while Android Studio installed on machine”

  1. John Pagonis Avatar
    John Pagonis

    Very good instructions

  2. Sidra Iqbal Avatar
    Sidra Iqbal

    Thank you it worked for me. 🙂

  3. Kamila Avatar
    Kamila

    Thank you very much. I’m finally working.

  4. Aman Khan Avatar
    Aman Khan

    Thank you! it’s working for me

    1. Talha Iqbal Avatar
      Talha Iqbal

      thanks

  5. ALEX DE LIMA SIQUEIRA CAMPOS Avatar
    ALEX DE LIMA SIQUEIRA CAMPOS

    Obrigado! Funcionou para mim.

  6. Srinivas Paruchuri Avatar
    Srinivas Paruchuri

    First-line itself worked great on windows! Thanks for your valuable tips.

  7. Abdullah Shamroz Avatar
    Abdullah Shamroz

    Tysm, it solved the issue for me too, means alot!

Leave a Reply

Your email address will not be published. Required fields are marked *