Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter with VS Code, Unable to locate Android Studio executable

I re-installed Flutter and Android Studio. I have already installed Java and SDK libraries and I can run the application from VS Code. But when I tried to open Android module in Android Studio I am getting:

Unable to locate Android Studio executable

1

like image 561
MUHAMMED IQBAL PA Avatar asked May 11 '26 20:05

MUHAMMED IQBAL PA


2 Answers

if you are on mac the put this in :

flutter config --android-studio-dir "/Applications/Android Studio.app/Contents"
like image 91
surga Avatar answered May 14 '26 11:05

surga


The Flutter extension locates Android Studio by calling flutter config --machine. It looks like Flutter isn't returning an Android Studio path there, so you could run:

flutter config android-studio-dir /path/to/android/studio

And then Flutter should remember it, and provide it to the VS Code extension when it looks.

like image 21
Danny Tuppeny Avatar answered May 14 '26 09:05

Danny Tuppeny