From the course: React Native Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Hello React Native on Android

Hello React Native on Android - React Native Tutorial

From the course: React Native Essential Training

Start my 1-month free trial

Hello React Native on Android

- [Instructor] To run the project for Android, the command is react-native run-android. And this will launch up the Android emulator and run the Metro Bundler again for Android. And when Metro is done bundling, the emulator will load the same application that we're working with. So, again, we can come in here and change anything we want. We change this back to One spelled out, and it will auto-reload in Android as well. And I want you to notice one thing. The Debug instructions here are different. So in here, you press Cmd or Ctrl + M to get to the Debug menu. And you can open up the debugger, and you'll see the same console.log message as well. The interesting thing is that, if you remember, the instructions on iOS were to press Command + D. And the same application rendered a different message for the Android application, and I want to point your attention to that. So this would be in the DebugInstruction component,…

Contents