Live reload not working on android

live reload works on browser but not on device , it suddenly stopped working

ionic cap run android -l --external
ionic cap run android -l --host=ip

both commands only runs live-reload on browser but not in android device,

if i run “ionic cap run android” , this command runs and even app is working in android but not live ,
what seems to be the problem,

any comments would be extremely helpful, please help.

Hi solved this problem ,

Open capacitor config add key

Server:{
“url” : “your ip”
}

After this enter
Ionic cap sync android

After this open studio , open android , andriod manifiest XML
Add key
android:usesCleartext = “true”

This will solve the problem of live reload

Hello. Adding

“server”: {
“url”: “http://your IP:8100”,
“cleartext”: true
}

to capacitor config also works