[android] Run/install/debug Android applications over Wi-Fi?

From search and from some answers i use this method and it work fine and you must know that tcpip is not always 5555 , you must find it just follow this you need first to download platform-tools

https://developer.android.com/studio/releases/platform-tools.html

extract platform-tools folder to C drive and run Powershell there (Right click >> PowerShell >> Open here)

#Connect phone with usb cable

PS C:\platform-tools> adb kill-server
PS C:\platform-tools> adb shell ip route > addrs.txt

#this give you your tcpip

* daemon not running; starting now at tcp:5037 
* daemon started successfully
PS C:\platform-tools> adb tcpip 5037
restarting in TCP mode port: 5037

#Disconnect phone #adb connect <phone_ip>:5037

PS C:\platform-tools> adb connect 192.168.43.1:5037
connected to 192.168.43.1:5037

Now you can see your phone in Android studio

Examples related to android

Under what circumstances can I call findViewById with an Options Menu / Action Bar item? How to implement a simple scenario the OO way My eclipse won't open, i download the bundle pack it keeps saying error log getting " (1) no such column: _id10 " error java doesn't run if structure inside of onclick listener Cannot retrieve string(s) from preferences (settings) strange error in my Animation Drawable how to put image in a bundle and pass it to another activity FragmentActivity to Fragment A failure occurred while executing com.android.build.gradle.internal.tasks

Examples related to debugging

How do I enable logging for Spring Security? How to run or debug php on Visual Studio Code (VSCode) How do you debug React Native? How do I debug "Error: spawn ENOENT" on node.js? How can I inspect the file system of a failed `docker build`? Swift: print() vs println() vs NSLog() JavaScript console.log causes error: "Synchronous XMLHttpRequest on the main thread is deprecated..." How to debug Spring Boot application with Eclipse? Unfortunately MyApp has stopped. How can I solve this? 500 internal server error, how to debug

Examples related to adb

ADB server version (36) doesn't match this client (39) {Not using Genymotion} ADB device list is empty "unable to locate adb" using Android Studio Run react-native on android emulator Solving "adb server version doesn't match this client" error Adb install failure: INSTALL_CANCELED_BY_USER Session 'app': Error Installing APK Where is adb.exe in windows 10 located? How to debug in Android Studio using adb over WiFi Set adb vendor keys

Examples related to wifi

java.net.ConnectException: failed to connect to /192.168.253.3 (port 2468): connect failed: ECONNREFUSED (Connection refused) use "netsh wlan set hostednetwork ..." to create a wifi hotspot and the authentication can't work correctly Get SSID when WIFI is connected " netsh wlan start hostednetwork " command not working no matter what I try Enabling/Disabling Microsoft Virtual WiFi Miniport Connect Device to Mac localhost Server? How to calculate distance from Wifi router using Signal Strength? Connect Android to WiFi Enterprise network EAP(PEAP) Enabling WiFi on Android Emulator Android turn On/Off WiFi HotSpot programmatically