How to Run React Native App On Real Device Android

After developing the React Native App it is always a good idea to test it on the real device because many time an app behave differently in the emulator then the real device. This post will cover How to Run React Native App On Real Device in Windows/Linux/Mac.
First of all, to run a debug app in your Android device you need to Enable Debugging over USB. To do this we have to do the following steps:

Go to Settings>About Phone

Find for the Build number or MIUI version and click it multiple time, until it shows you are a developer now

You will find a Developer Option direct in settings or in Additional Settings

  

After that Enable Developer Option and USB debugging

After doing this you have to attach your Real Device with the computer using a USB cable and run the following command on terminal.

Now run your app using

If you get a “bridge configuration isn’t available” error. Then use below command to solve

Here you have to replace <device name> with your device name. You got the name using adb devices.

and then run using

You will found the app running in your real device.

General Problem and Solution

If you are doing some changes and want to see in your device you have to enable the Hot/Live Reloading which can be done form the Developer Menu. To open the Developer Menu in Real Device you just need to shack the device and it will open the Developer Menu popup for you.

This is how you can run the React Native App on Real Device. In some cases, it becomes too hectic to manage cable all the time so there is another solution to Connect Your device with the development server using Wi-Fi.

This is how you can run React Native App on Real Device. If you have anything to share please comment below or contact us here.

Hope you liked it 🙂

How useful was this post?

Click on a star to rate us!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

About Snehal Agrawal

#SelfLearner #MobileAppDeveloper #TechnologyMiner #OpenSourceLover thats enough to describe me..

View all posts by Snehal Agrawal →

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.