I am trying to test the demo app on a physical Android device (Xiaomi redmi note 7 pro) from the android studio but I am getting the errors listed in this image attached.
It says that
adb server version (32) doesn't match this client (41); killing...
- daemon started successfully
Adb connection Error:An existing connection was forcibly closed by the remote host
Unable to open connection to: localhost/127.0.0.1:5037, due to: java.net.ConnectException: Connection refused: connect
Cannot reach ADB server, attempting to reconnect.
daemon not running; starting now at tcp:5037
daemon started successfully
"Adb connection Error:An existing connection was forcibly closed by the remote host"