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:
- 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.
- 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
- Android Studio is installed and you can run it, so when it boots up, select configure:

- In dropdown list open “plugins”
- Search for “flutter” and install this plugin together with dart.
- Restart the Android Studio and open a new terminal.
- 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
- error: could not find included file ‘Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig’ in search paths (in target ‘Runner’)
- type ‘int’ is not a subtype of type ‘String’ error in Dart
- CocoaPods not installed or not in valid state
- Error: Null safety features are disabled for this library
- flutter_localizations from SDK depends on intl 0.17.0 and fstore depends on intl ^0.16.1 flutter_localizations from SDK is forbidden
Leave a Reply