Learn How to Write Your Own Android Apps With React Native

Posted on
npm install -g create-react-native-app

Installing npm Create App

computer science computer science computer science computer science computer science computer science

If you encounter a problem installing create-react-native-app, then you may need to fix npm permissions.

Once installed, you’re ready to start creating your app.

Creating an App the Easy Way

Now that you’ve installed create-react-native-app, you can create your first app. Create a new folder to store your project, and navigate to it in the command line.

Use the create-react-native-app utility to create your app. This command will create an app called FirstAndroidApp:

create-react-native-app FirstAndroidApp

Creating React Native App

computer science computer science computer science computer science computer science computer science

React Native has created a new folder for you, based on the name of your project (FirstAndroidApp). Navigate into this folder, and then run:

npm start

React Native server running

computer science computer science computer science computer science computer science computer science

This will start your development server.

You’ll see lots of options for restarting the server, along with a QR code and server IP address. You’re all set to run on your phone now.

Prev2 of 5Next

Leave a Reply

Your email address will not be published. Required fields are marked *