Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for How To Connect Wireless Debugging!
Kunguma Sakthivel K
Kunguma Sakthivel K

Posted on

     

How To Connect Wireless Debugging!

*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 terminaladb 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, typeipconfig 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.

Image description
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!!!

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Software Developer | Technical Blogger
  • Location
    Bangalore, India
  • Education
    B.Tech Artificial Intelligence and Data Science
  • Joined

More fromKunguma Sakthivel K

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp