Task 5 – Opening our react-native app in Android emulator #javascript

Task 5 - Opening our react-native app in Android emulator  #javascript

  • Task 5 – Opening our react-native app in Android emulatorIn the previous task we have set up Android studio and its virtual device emulator.Now, lets open the react-native ‘momentz4ever’ app that we initialized/scaffolded in Task # 3 in the Android emulator.If you don’t have it open, open the command prompt with Administrator privileges and change the current working folder to the react-native project folder cd the react-native cli’s command run-android to for react-native to compile, build and open the app on the connected Android run-androidWith the above command, React-native will start building the android project/app.
  • It will also open up another command window where the packaging of the app will be triggered.
  • (If you get an error during the build like below, close the project in Android Studio and delete the debug folder from the path shown in the error: – react-native run-android command again.If everything goes fine, you should see app installed and opened up on the emulator with the Welcome screen that was scaffolded for us by the react-native init command when we created the project.Cool, now in the text task, we will setup and configure our project to use Typescript.

Now, lets open the react-native ‘momentz4ever’ app that we initialized/scaffolded in Task # 3 in the Android emulator. If you don’t have it open, open the command prompt with Administrator privileges…

@ng_real_ninja: Task 5 – Opening our react-native app in Android emulator #javascript

In the previous task we have set up Android studio and its virtual device emulator.

Now, lets open the react-native ‘momentz4ever’ app that we initialized/scaffolded in Task # 3 in the Android emulator.

If you don’t have it open, open the command prompt with Administrator privileges and change the current working folder to the react-native project folder ‘momentz4ever’ .

to for react-native to compile, build and open the app on the connected Android emulator.

With the above command, React-native will start building the android project/app. It will also open up another command window where the packaging of the app will be triggered.

(If you get an error during the build like below, close the project in Android Studio and delete the debug folder from the path shown in the error: – C:\working\reactnative\momentz4ever\android\app\build\generated\source\r

command again.

command when we created the project.

Cool, now in the text task, we will setup and configure our project to use Typescript.

Task 5