Open terminal in android studio
type below sequencially in terminal
1. adb shell
2.adb version
3. RESULT : Android Debug Bridge version 1.0.31
FULL .
shell@htc_v02_dug:/ $ adb version
Android Debug Bridge version 1.0.31
//
-r option in order to reinstall it -l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
-s: install package on sdcard.
-f: install package on internal flash.
-d: allow version code downgrade.
****************************************************** $ adb tcpip 5555
$ adb connect device_ip_address
$ adb devices List of devices attached device_ip_address:5555 device
adb connect step again.adb kill-server