Skip to content

Instantly share code, notes, and snippets.

@Nazmul56
Last active March 30, 2020 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nazmul56/fc450dbac796576c9e7f6f2b61ae02e9 to your computer and use it in GitHub Desktop.
Save Nazmul56/fc450dbac796576c9e7f6f2b61ae02e9 to your computer and use it in GitHub Desktop.
######################################################
Install APK From PC to Android Device or Emulator
######################################################
C:\Users\Nazmul\AppData\Local\Android\Sdk\platform-tools>
adb install -r app-release.apk
######################################################
Wifi Debugging
######################################################
in windows
$ cd C:\Users\Nazmul\AppData\Local\Android\Sdk\platform-tools
In Mac:
$ echo 'export PATH=$PATH:~/Library/Android/sdk/platform-tools/' >> ~/.bash_profile
$ source ~/.bash_profile
For all
$ adb tcpip 5555
$ adb devices
<Device Id>
$ adb -s <DeviceId> tcpip 5555
$ adb shell ip route
<Device Ip>
$ adb connect <Device Ip>:5555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment