Closed GuillaumeGascon closed 10 months ago
This is a bug in Ionic CLI, not in Capacitor, it has already been reported in Ionic CLI repository and there is a PR that fixes the issue, but has not been merged nor released yet.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
Android & Web (Not tested on iOS)
Current Behavior
when i run ionic
capacitor run android -l --external
and select my device, the app doesn't start on my device.Expected Behavior
Tha app should show on my device
Code Reproduction
use @angular-devkit/build-angular:application as builder in angular.json, in capacitor.config.json change webDir to "webDir": "www/browser" and add "browser": "src/main.ts" in angular.json at architect -> build -> options
Other Technical Details
It was working fine when i was using the old builder
npm --version
output: 9.5.1node --version
output: v18.16.0