quasar dev -m capacitor command fails to open android studio on windows
See original GitHub issueDescribe the bug
When running the command quasar dev -m capacitor -T android on windows, Android studio is expected to open but fails due to an unescaped path with special characters. Space character in the Program Files part when using the default path.
const studioPath = 'C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe'
Codepen/jsFiddle/Codesandbox (required)
To Reproduce Steps to reproduce the behavior:
- run
quasar dev -m capacitor -T androidon windows with android studio installed in default path - See error
Expected behavior I expect Android studio to open the capacitor project.
Screenshots

Platform (please complete the following information): OS: Windows 10 Node: v10.13.0 NPM: 6.4.1 Yarn: 1.12.3 Browsers: NA iOS: NA Android: NA Electron: NA
Additional context PR created: https://github.com/quasarframework/quasar/pull/5557
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
"quasar dev -m capacitor -T android" not launching ... - GitHub
When I attempt to run the command "quasar dev -m capacitor -T android" on windows, it opens the windows explorer folder for the...
Read more >Android Studio not starting when building capacitor app on ...
When I run the “quasar dev -m capacitor -T android” command, it only opens the windows explorer to the path. It does not...
Read more >Capacitor Troubleshooting and Tips - Quasar Framework
In Android Studio (if you open it on /src-capacitor/android ), you will be greeted with a message recommending to upgrade the Gradle version....
Read more >On MacOS, launching Quasar-Framework/Capacitor dev ...
Nothing, not even an error message. What is wrong? What shoud I do? Edit : Command build works for Android and ios quasar...
Read more >Experimentation with the Quasar framework - Yoctopuce
The first thing to do is to install Quasar with the npm command "npm i -g ... quasar dev -m cordova -T android...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi guys,
I seem to be having this issue on the latest release of quasar.
It was working fine, then all of a sudden, it couldn’t open Android Studio (along with some IDE errors when opening Android Studio manually). No matter what I did, studio would not open.
I’ve just re-installed Windows on my PC, in hopes that it was just something gone wrong somewhere, but again, have an issue opening Android Studio on a fresh install of everything.
Specs::
UPDATE:
Modifying
open-ideand removing the double quotes from the studioPath, when runningopen()solved it. But that’s not ideal.New PR will be included in “@quasar/app” v1.2.5.