Skip to main content

React Native

Installation

Follow the react-native official documentation
  1. Install node js.
  2. Install python
  3. create a folder for your project
    1. install npm locally only for your react-native project
      1. run cmd within the folder
      2. type "npm init" and hit enter (this will install npm locally)
  4. Install React native
    1. npm install react-native-cli
    2. npx react-native init <project name>

Error Handling - React native

After creating react native environment we need to add local.properties file

Path : Main Folder > android > gradle
  1. Create a file as local.properties
  2. Add these codes into the above-created file

sdk.dir C:\\Users\\username\\AppData\\Local\\Android\\sdk
username - your computer username




Comments

Popular posts from this blog

Laravel

Laravel Start Laravel Documentation https://laravel.com/docs/5.8 01. Download and Install Composer https://getcomposer.org/download/ 02. Download the Laravel installer using Composer composer global require laravel/installer 03. Create Laravel Project composer create-project --prefer-dist laravel/laravel mylaraproject 04. Run Local Development Server php artisan serve