Skip to content

SankThomas/getting-started-with-react-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

REQUIREMENTS / TODO

  1. Java + Java Compiler (Preferred Java 8 or Java 11) - other versions don't work according to what I've tested and researched.
  • Install Java 11 from Oracle. Make sure to get the correct version for your operating System. I'm running Windows 10.
  1. Android Studio
  • Install it from here. Make sure to get the correct version for your operating system.
  • Apple uses xCode and I'm not sure of the requirements for that. Please do some more research if you're using MacOS.
  1. Add ANDROID_HOME variable to your PATH.
  • On Windows, go to your environment variables and add ANDROID HOME to your path, pointing to your installation of the Android SDK. This comes together with Android Studio. See image below - the numbers correspond to the numbers on the image: alt

    1. Open up Control panel
    2. Search for "path"
    3. Click on "Edit the system environment variables"
    4. On the window that pops up, click on "Environment Variables"
    5. Click on "New" which is going to open window number 6.
    6. Add "ANDROID_HOME" as Variable Name, and the path to your Android SDK installation as the Variable value and click on "OK"
    7. You should see your new variable added to your system path.

If you're running Fedora 36

  • For Fedora 36, use this link to install Android Studio. To add it to your PATH, navigate to your ~/.bashrc file and add in these lines:
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools

To verify whether it worked, open your terminal and type in echo $ANDROID_HOME. If you had any terminal open, close all of them and restart it for the changes to apply.

More information on this link

End of Fedora Stuff

  1. Emulator - optional if you're going to build using an emulator. This can be downloaded and installed when installing Android Studio. Once again, Apple uses xCode and I'm not sure of the requirements for that. Please do some more research if you're using MacOS.

  2. Android / iPhone (Optional)

  • In case you don't want to use an Emulator, you can connect your mobile device to your computer using a USB cable, and enable USB debugging on your phone - (follow this link to learn how to enable USB debugging on Android) - to use your physical device as an emulator.
  1. Expo GO (Optional)
  • You can also optionally use Expo GO to view your app on your mobile device when building. You don't have to connect it to your computer - only thing is that you have to be using Expo in your React Native App.

Compiled By Thomas Sankara

Donate to support the channel: https://streamlabs.com/tsbsankara1/tip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published