After adding native code, my app can no longer run in the browser.
(which is not a bad thing. I mean, running the native code in the browser simply isn’t possible.
And debugging with chrome inspector works like a charm )
But starting the IDE with:
ionic cap run android -l --external
always opens both Android Studio AND the web browser.
[INFO] Browser window opened to http://localhost:8100!
capacitor open android
Can I prevent this somehow?
The browser preview is useless without the custom code. I would prefer if
cap run android really only started android.