IONIC5 Capacitor livereload

I am not able to livereload my Ionic5 capacitor app.
I have tried many steps -

  • Laptop and mobile both are connected to same network (wifi)
  • commands used
    1-- ionic serve -> npm run build -> npx cap add android -> npx cap copy android -> npx cap sync android -> ionic cap open android
    2–ionic serve -> npm run build -> npx cap add android -> npx cap copy android -> npx cap sync android -> ionic cap open android --external --livereload

in both situation livereload not working
"ionic cap run android" not able to open android studio.

If their is any other approach than, please suggest me.
Thank you.

Take a look at the live reload guide.

The open command doesn’t support the external/livereload options. If cap run doesn’t work, what is the exact error that you get?

ionic cap run android -l --external