![]() We can use either a physical device or a simulator to run the app on. Go to Add Configuration (or Edit configuration, if you happen to have any configuration created already).Ĭall it Run iOS or whatever is meaningful to you. I personally use IntelliJ IDEA, but WebStorm is pretty similar. npx react-native init AwesomeProjectĪfter running the command above, you will see a screen like this on completion which means your React Native app is created successfully.It is quite convenient to create build configurations in your IDE. We will be using npm (npx command) to create the app. Configure the ANDROID_HOME environment variable (from DOCS)Īfter all this setup now it's time to create our first application.Android Studio Download Link : Follow Android development environment Guide on React Native Official DOCS. ![]() Now we need to download and install Android Studio. QUOTED FROM REACT NATIVE OFFICIAL DOCS : If you already have a JDK on your system, make sure it is version 8 or newer.ģ. We will setup our application to run on latest version of JDK. But if you have latest version installed, no problem. In React Native docs openjdk8 is installed. Second thing we need is Java Development Kit (JDK). QUOTED FROM REACT NATIVE OFFICIAL DOCS : make sure it is Node 12 or newer.Ģ. First we will download and install Node.js latest version on your System.So without wasting anymore time, let's get started. I hope everyone is gonna find this article useful. React Native DOCS Link :ĭocs are good to start but React Native docs lack some things which I am gonna cover in this article. Because if you follow the React Native Docs it's gonna make you leave React Native after some time because of issues you will face while setting up and running your first app. ![]() I started with React Native and faced these issues So I am writing this to help others to start with React Native the right way. In this article we are going to learn how to setup and run your react native app the right way. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |