Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Cap run android starts web version

$
0
0

@lhk wrote:

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 :slight_smile: )

But starting the IDE with:

ionic cap run android -l --external

always opens both Android Studio AND the web browser.
It says:

react-scripts start
#…
[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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>