### Capacitor Version ``` npx cap doctor 💊 Capacitor Doctor 💊 Latest Dependencies: @capacitor/cli: 7.4.2 @capacitor/core: 7.4.2 @capacitor/android: 7.4.2 @capacitor/ios: 7.4.2 Installed Dependencies: @capacitor/cli: 7.4.2 @capacitor/ios: 7.4.2 @capacitor/android: 7.4.2 @capacitor/core: 7.4.2 [error] Xcode is not installed [success] Android looking great! 👌 ``` ### Other API Details ```Shell ``` ### Platforms Affected - [ ] iOS - [x] Android - [ ] Web ### Current Behavior When execute `npx cap open android`, Android Studio shows the following warning: <img width="443" height="135" alt="Image" src="https://github.com/user-attachments/assets/c1237e33-ce31-40c0-abba-b918b443911c" /> Android Studio Version: Narwal Featured Drop ```bash $ pwd /usr/local/android-studio/bin ``` If I execute directly `studio.sh`, shows the warning, but if I execute `studio` don't show it ``` studio # Native launcher (preferred) studio.sh # Script launcher (shows warning) ``` ### Expected Behavior No warning should appear regarding the Android Studio executable path when running the CLI on Linux ### Project Reproduction N/A ### Additional Information In code, on file: `./cli/src/config.ts` In function `determineAndroidStudioPath`: ```typescript case OS.Linux: return '/usr/local/android-studio/bin/studio.sh'; ``` I think it should be something like this: ```typescript return '/usr/local/android-studio/bin/studio'; ``` But what's happend if user has an earlier Android Studio version, for example on my other laptop I running an older version of Android Studio (Jellyfish), the bin folder doesn't conbtain the `studio`, only `studio.sh`. Something like this? ```typescript case OS.Linux:{ const studioExecPath = '/usr/local/android-studio/bin/studio'; const studioShPath = '/usr/local/android-studio/bin/studio.sh'; try { if (await pathExists(studioExecPath)) { return studioExecPath; } } catch (e) { debug(`Error checking for studio executable: %O`, e); } return studioShPath; } ``` I'm happy to open a PR with this change, let me know what you think Link to android studio versions: https://developer.android.com/studio/releases