Search
 
SCRIPT & CODE EXAMPLE
 

C

wireless app debug android

1.	Connect the device via USB and make sure debugging is working;
2.	'adb tcpip 5555'. This makes the device to start listening for connections 
 	on port 5555;
3.	Look up the device IP address with 'adb shell netcfg' or 
	'adb shell ifconfig' with 6.0 and higher;
4.	You can disconnect the USB now;
5.	'adb connect <DEVICE_IP_ADDRESS>:5555' This connects to the server we set
	up on the device on step 2;
6.	Now you have a device over the network with which you can debug as usual.

To switch the server back to the USB mode, 'run adb usb', which will put 
the server on your phone back to the USB mode. If you have more than one device, you can specify the device with the -s option: adb -s <DEVICE_IP_ADDRESS>:5555 usb.


To find the IP address of the device: 'run adb shell' and then 'netcfg'. 
You'll see it there. To find the IP address while using OSX run the
command 'adb shell ip route'.
Comment

wireless debugging android

Connect Mobile Using Cable

1. Close all other Emulators and Stop Debugging 
2. Turn On Debug Mode -> USB Debug and Install via USB ( Allow and yes to all F!$%^&* Shit)
3. Check the Devices and Choose your Phone
4. Debug
5. Connect Lap / Mobile to Same Network
6. Open Terminal (VS code Terminal)
7. Run - adb tcpip 5555
8. Open Mobile Setting -> Specs -> Status -> IP Address
9. Run - adb connect <DEVICE_IP_ADDRESS>:5555
10. Eject from the Lap and Debug
Comment

PREVIOUS NEXT
Code Example
C :: ruby absolute value 
C :: how to make a hello world program in c 
C :: adb switch to usb 
C :: get_session` is not available when using TensorFlow 2.0. 
C :: save numpy array to text file 
C :: golden cobblestone modpack 
C :: express.static public 
C :: rl_replace_line 
C :: how to print int in c 
C :: random number c 
C :: c static 
C :: npm fix old lockfile 
C :: get time to complete code c 
C :: how to ban websites on mac 
C :: c int to string 
C :: how to print the first character of a string in c 
C :: addition in c 
C :: c print multiple variables 
C :: c string 
C :: factorial of a number in c 
C :: comment in c language 
C :: malloc c include 
C :: c programming language 
C :: c program to find the frequency of characters in a string 
C :: print command for rust unit-test 
C :: unsigned char c programming 
C :: Program to Check Whether Character is Lowercase or Not without using islower function 
C :: . Simulate MVT and MFT. 
C :: fread 
C :: define constant c 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =