-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Studio (IDE) not launching anymore on latest version #12368
Comments
Can confirm that I have the same issue. This is applicable for both On command execution, android studio does not open. Instead the folder where the capacitor project is placed is opened. I tried with Android version 2020.3.1 Patch 3 and 2021.1.1 Patch 1. This does not seem to make a difference. I did an upgrade from Quasar 2.0.4 to 2.5.1, which is when I noticed the issue. Here is the quasar info output:
I have a slightly different Android path command, but it does essentially the same
|
@Teo27 How do you build now using Android Studio? |
I had the same problem and i fixed it by downgrading quasar/app to 3.2.9 and now its working, its probably something related to a new update on quasar/app |
I am building android in the pipelines @francoism90 So the simplified version looks something like this: First you build up the project but skip the gradlew part with the following command: Then, depending on your target and wanted result, you can use one of the following:
In case you are trying to do a release build, then you have to sign your app as well. You can check out how to do this on here f.x. https://developer.android.com/studio/build/building-cmdline#sign_cmdline |
I think something else is going on, maybe the gradle version is out-of-date? After upgrading to the latest one (not recommended), it produces a working build. |
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 - 6b977a8 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 [email protected] to [email protected]
The missing part is that |
@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 |
Hello, what is the command to downgrade the version of quasar my friend? |
@wea141619 why downgrade? everything works fine now... Downgrading is a bad strategy for multiple reasons. |
What happened?
What did you expect to happen?
Launch Android Studio IDE
Reproduction URL
https://codepen.io/rstoenescu/pen/xxEvBLR
How to reproduce?
quasar build -m capacitor -T android --ide
Flavour
Quasar CLI (@quasar/cli | @quasar/app)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app)
Platforms/Browsers
Android, Other
Quasar info output
Relevant log output
No response
Additional context
The text was updated successfully, but these errors were encountered: