# Run an app on device (Android Version)

# Running an app on Android Device.

  • `adb devices`
      1. Is your phone displaying? If not, enable developer mode on your phone, and connect it by USB.
  • `adb reverse tcp:8081 tcp:8081` :
      1. In order to link correctly your phone and that React-Native recognize him during build. (**NOTE:`Android Version 5` or above.**)
  • `react-native run-android` :
      1. To run the app on your phone.
  • `react-native start` :
      1. In order to start a local server for development (mandatory). This server is automatically started if you use the last version of React-native.
    • In order to link correctly your phone and that React-Native recognize him during build. (NOTE:Android Version 5 or above.)

    • In order to start a local server for development (mandatory). This server is automatically started if you use the last version of React-native.

    # Remarks

    Troubleshootings :
    Could not connect to development server => Do this : adb reverse tcp:8081 tcp:8081, make sure that your phone is connected (adb devices). Verify also that there is a local server launched, if not run react-native start