Home > Web Front-end > JS Tutorial > How To Connect Wireless Debugging!

How To Connect Wireless Debugging!

WBOY
Release: 2024-07-23 09:29:43
Original
822 people have browsed it

*These are just simple steps to setup the wireless debugging while developing your mobile app!
*

What is the need for wireless debugging?
Because android simulators consume lot of computer resources to run it on system. Most of the learning dev are student who have limited computation power, so this helps them to setup their mobile app in their device.

Getting Started!!!
STEP 1: Setup your phone to developer mode by multiple required number of taps on your mobile build number. After multiple taps, your mobile will switch to developer mode.

STEP 2: Connect your mobile to your computer via USB cable and type in terminal adb devices this will check your mobile is connected or not.
If not check that your mobile is in developer mode.

STEP 3: After connecting the mobile via USB, now run your react native app this will install the mobile app in your device and also make sure that both laptop and mobile is connected on same network like same wi-fi.

STEP 4: In system terminal, type ipconfig this command will tell you IP configuration and IP address. Copy the IP v4 address. Because, to connect wireless debugging we use IP v4 address to connect with phone.

STEP 5: Now open your mobile app in your mobile as shake your mobile it will make one popup.

How To Connect Wireless Debugging!
Now, go to setting

Image description
Now, go to Debug server host & port for device

Image description
In this popup type your IP v4 address and port number that used to host the app

Example: 0.0.0.0:3000

Tip: If your restart your application or re-connected to different wi-fi network make sure that IPv4 address is same as before or repeat the process from STEP1.

Thank You! Happy Coding!!!

The above is the detailed content of How To Connect Wireless Debugging!. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template