English 中文(简体)
React Native - Running Android
  • 时间:2024-12-27

React Native - Running Android


Previous Page Next Page  

We can run the React Native app on Android platform by running the following code in the terminal.

react-native run-android

Before you can run your app on Android device, you need to enable USB Debugging inside the Developer Options.

When USB Debugging is enabled, you can plug in your device and run the code snippet given above.

The Native Android emulator is slow. We recommend downloading Genymotion for testing your app.

The developer menu can be accessed by pressing command + M.

Advertisements