Connecting to Device:
adb start-server
adb connect <ip-address>:4321
oradb connect <ip-address>:5555
adb devices
Resolution Settings:
adb shell wm size
adb shell wm size 1920x1920
adb shell am display-size 1920x1920
adb shell wm size reset
adb shell wm density 420
Install APKs
adb install <file_path_to_the_apk>
APKs
For Android 4.3 above, change screen resolution command will be
$ adb shell wm size 1280x800