bug: `ionic capacitor run android --livereload` is not rebuilding the app
See original GitHub issueOriginal issue by @WesleyGoncalves on 2019-08-19T02:04:10Z
The app is not being updated in the Android device after I make changes to it. The live reload is not working.
The app only gets updated if I run ng build
, then ionic capacitor copy android
or ionic capacitor run android -l
, and then run the app in Android Studio.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:12 (1 by maintainers)
Top Results From Across the Web
ionic4 - Capacitor livereload not working - Stack Overflow
ionic capacitor run ios --livereload --external. It will open Xcode automatically. Run your project and livereload should work.
Read more >Ionic capacitor live reload not working on android
I am using the following command to perform live reloading on android ionic capacitor run android --livereload --external. But it is not ......
Read more >Live Reload | Capacitor Documentation
Use Live Reload to easily debug the web and native portions of an app on a device ... Next, use the ionic cap...
Read more >ionic capacitor v3 run android livereload Code Example
ionic capacitor v3 run android livereload ; 0. 0. Apollo1999 85 points. npm install -g @ionic/cli native-run ionic cap run android -l --external...
Read more >Debugging Tips For Your Ionic App - Ionic Blog
Debugging Ionic apps is not always easy, as apps usually behave differently on the browser ... ionic cap run android --livereload --external.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@brospars
Open
android/app/src/main/AndroidManifest.xm
Add this to your AndroidManifest.xml in the tag (Tag application already exists)
<application android:usesCleartextTraffic="true">
Run live reload with host of your PC
ionic capacitor run android -l --address=192.168.2.106
INSTEAD OF 192.168.2.106 YOU PUT YOR PC’S ADDRESSAfter run Android Studio with connected device as usual
I got it working with the
<application android:usesCleartextTraffic="true">
and commandionic capacitor run android --livereload --external