Last active
March 30, 2020 06:59
-
-
Save Nazmul56/fc450dbac796576c9e7f6f2b61ae02e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################### | |
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