@technosis wrote:
I have added the correct path to android studio in capacitor.config.json but
npx cap open android
still gives the following error:[error] Unable to launch Android Studio. You must configure "linuxAndroidStudioPath" in your capacitor.config.json to point to the location of studio.sh, using JavaScript-escaped paths: Example: { "linuxAndroidStudioPath": "/usr/local/android-studio/bin/studio.sh" }
I’m running on wsl2 ubuntu-18.04. I have a functioning android studio installation, with all the proper paths set in .bashrc to the sdk and studio.sh. I am able to open the project manually without errors but the npx command does not work.
Thanks in advance!
Posts: 1
Participants: 1