Android Studio (IDE) not launching anymore on latest version
See original GitHub issueWhat happened?
$ cd project
$ quasar build -m capacitor -T android --ide
What did you expect to happen?
Launch Android Studio IDE
Reproduction URL
https://codepen.io/rstoenescu/pen/xxEvBLR
How to reproduce?
- Install Android Studio 2021.1.1.21-1
- Run
quasar build -m capacitor -T android --ide
- Nothing happens
Flavour
Quasar CLI (@quasar/cli | @quasar/app)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app)
Platforms/Browsers
Android, Other
Quasar info output
Operating System - Linux(5.16.5-zen1-1-zen) - linux/x64
NodeJs - 17.3.0
Global packages
NPM - 8.4.1
yarn - 1.22.17
@quasar/cli - 1.2.2
@quasar/icongenie - Not installed
cordova - Not installed
Important local packages
quasar - 2.5.3 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
@quasar/app - 3.3.2 -- Quasar Framework local CLI
@quasar/extras - 1.12.5 -- Quasar Framework fonts, icons and animations
eslint-plugin-quasar - Not installed
vue - 3.2.29 -- The progressive JavaScript framework for building modern web UI.
vue-router - 4.0.12
vuex - Not installed
electron - Not installed
electron-packager - Not installed
electron-builder - Not installed
@babel/core - 7.16.12 -- Babel compiler core.
webpack - 5.67.0 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
webpack-dev-server - 4.7.3 -- Serves a webpack app. Updates the browser on changes.
workbox-webpack-plugin - 6.4.2 -- A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
typescript - 4.5.5 -- TypeScript is a language for application scale JavaScript development
@capacitor/core - 3.4.0 -- Capacitor: Cross-platform apps with JavaScript and the web
@capacitor/cli - 3.4.0 -- Capacitor: Cross-platform apps with JavaScript and the web
@capacitor/android - 3.4.0 -- Capacitor: Cross-platform apps with JavaScript and the web
@capacitor/ios - Not installed
Quasar App Extensions
*None installed*
Relevant log output
No response
Additional context
export ANDROID_HOME="$HOME/.android/sdk"
export ANDROID_SDK_ROOT="$HOME/.android/sdk"
export PATH=$PATH:$ANDROID_SDK_ROOT/tools; PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Known issues with Android Studio and Android Gradle Plugin
To fix this issue, upgrade your Android 11 emulator to version 9 or higher by navigating to Tools > SDK Manager. In the...
Read more >Android studio isn't opening on Windows - Stack Overflow
Select right click on the android studio icon, and open some recent project. · A new window will open with the recent project...
Read more >What should I do if Android Studio is not opening? - Quora
1. Check whether auto update is enabled in your Play Store and see if the Play Store is updating your apps in the...
Read more >Google Android Studio is not launching? Here's the fix!
For instance, after the successful installation, if you find the application doesn't seem to respond or open at all, then the reason might...
Read more >How to Install Android Studio IDE & SDK and Get Started with ...
Uninstall older version(s) of "Android Studio" and "Android SDK", if any. The installation and many operations take a LONG time to complete. Do...
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 FreeTop 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
Top GitHub Comments
Ok, I found the exact issue. I debugged a bit and saw that both the target folder and studio path are correct for me. The issue is with the “open” library and specifically this commit for quasar - https://github.com/quasarframework/quasar/commit/6b977a836f7d0c9a1279002b065f23ab99b52820
In the file @quasar/app/lib/helpers/open-ide.js
On lines 68-72 it is as follows:
It should be like this due to breaking changes going from open@7.1.0 to open@8.4.0
The missing part is that
app
is an object requiringname
attribute. That can be either the binary name or the path to the binary. In our case, this would be theANDROID_STUDIO_PATH
@rstoenescu
@Teo27 Why not PR it? It helps as we have so much on our plate to handle and we love to see community contributions!
Fix will be available in “@quasar/app” v3.3.3