0
0
React Nativemobile~10 mins

Environment setup (Node, Watchman, Xcode, Android Studio) in React Native - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to check the installed Node.js version in your terminal.

React Native
node [1]
Drag options to blanks, or click blank then click option'
A-v
B--version
Cversion
D-version
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'node version' instead of a flag.
Using '--version' which is valid but longer.
2fill in blank
medium

Complete the command to install Watchman on macOS using Homebrew.

React Native
brew [1] watchman
Drag options to blanks, or click blank then click option'
Aupdate
Binstall
Cupgrade
Dremove
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'brew update watchman' which updates Homebrew itself.
Using 'brew remove watchman' which uninstalls the package.
3fill in blank
hard

Fix the error in the command to open Xcode from the terminal.

React Native
[1] /Applications/Xcode.app
Drag options to blanks, or click blank then click option'
Arun
Bstart
Copen
Dlaunch
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' which works on Windows but not macOS.
Using 'launch' or 'run' which are not valid commands.
4fill in blank
hard

Fill both blanks to set ANDROID_HOME environment variable in macOS terminal.

React Native
export [1]=[2]/Library/Android/sdk
Drag options to blanks, or click blank then click option'
AANDROID_HOME
BANDROID_SDK
C$HOME
D~
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'ANDROID_SDK' instead of 'ANDROID_HOME'.
Using '~' instead of '$HOME'.
5fill in blank
hard

Fill all three blanks to add Android platform tools to PATH in macOS terminal.

React Native
export PATH=[1]/bin:[2]/platform-tools:[3]
Drag options to blanks, or click blank then click option'
A$PATH
B$HOME
D$ANDROID_HOME
Attempts:
3 left
💡 Hint
Common Mistakes
Not including existing PATH in the new PATH variable.
Using literal paths instead of variables.