You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anything listed in the developer console (click Help -> Show Developer Tools in VS Code) when you click? I can't see an obvious path in the code that would cause it to fail silently. If we can't find the folder we show an error message, and otherwise we just try to execute it.
Also, could you run flutter config --machine and paste the output here.
Maybe problem is that android-studio-dir is set to AS versions which doesn't have Flutter plugin?
That shouldn't stop it from launching though.. All we're doing here is grabbing android-studio-dir then appending bin/studio and executing it. If you run /home/audrius/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5320907/bin/studio from a terminal, does that work? If so, maybe it's failing somewhere else.
I could try and add some more logging and give you a build (unfortunately I don't have a Linux box, and it works fine on my MacBooks), or if you want to try and debug it, it might be quite simple:
Press F5, which will launch another copy of VS Code ("the dev extension host") running the from-source version of the extension
Open a Flutter project in that version, right-click on the Android folder and choose Open in Android Studio
This should hit the breakpoint back in the main VS Code window, and you could step through to see if you can understand what's happening (or post more info that might help me understand).
Otherwise, I should probably try and get a VM or something set up and see if I can repro there (in which case I'd be interested in knowing which distro you're using, and any instructions you think might be important to try and set things up similar to yours).
All we're doing here is grabbing android-studio-dir then appending bin/studio and executing it.
Oh. My AS instalation in bin directory contains studio.sh instead of studio. So calling /home/audrius/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5320907/bin/studio returns no such file or directory