Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Run a React Native App on an Android Device

    react-nativeReact Native

    For Android, we can connect a physical device that will be autodetected by react-native run-android, just like the emulator. Make sure to shut down the emulator first however - so that only one adb device is connected at a time.



    Become a Member to view code

    You must be a Pro Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    orLog In




    Instructor: To deploy to an Android device, first make sure the device is configured for USB debugging. Enable developer options by going to Settings, About Phone, and tap the build number row seven times. Then there will be a developer options setting that will allow you to enable USB debugging.

    In a terminal, run adb devices if you would like to check that your device is properly connected. There can only be one connected device at a time for React Native to properly detect and run, so close any emulators that you have open to ensure that only the device is showing. Then run react-native run-android like normal. It will automatically detect your connected device and run the app.