TRIED - npx cap open android
The error I am getting is
[info] Opening Android project at /media/mohan/66D64F7F2CE11EA9/adhikar/adhikar/android
[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 added the path at
{
“appId”: “io.ionic.starter”,
“appName”: “adhikar”,
“bundledWebRuntime”: false,
“npmClient”: “npm”,
“webDir”: “www”,
“linuxAndroidStudioPath”: “/android-studio/bin/studio.sh”,
“plugins”: {
"SplashScreen": {
"launchShowDuration": 0
}
},
“cordova”: {}
}
But showing the same error. Is the placement is correct. Also i tried “linuxAndroidStudioPath”: “home/android-studio/bin/studio.sh”, But nothing works. Can anyone help me in rectifying this.