Before running a ReactNative project

$ sdk.dir = /Users/USERNAME/Library/Android/sdk
$ yarn
$ npm install
$ react-native link
$ cd ios && pod install && cd ..
$ react-native run-ios
$ react-native run-android
$ cd android && ./gradlew clean && cd ..
  1. Every time you notice a message like: “Deprecated Gradle features were used in this build, making it incompatible with Gradle X.X.”, just follow through with Step 4: Sync Gradle.
  2. You should try Flutter out if you’d like to reduce a great deals of these hassles of developing cross platform on ReactNative. 😉

--

--

--

Software developer. zhifez.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Learn modern javascript in 10 simple ways

Everything about zenity command.

String In JavaScript

Execution Context & The Call Stack

https://link.medium.com/byK7ht9DKmb

Set Up the Express App and Run a Cana ry Test

{{鬼灭之刃剧场版:无限列车篇 完整版本}}[Demon Slayer: Kimetsu no Yaiba] 完整版觀看電影在線小鴨 完整的電影

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
zhifez

zhifez

Software developer. zhifez.com

More from Medium

Hybrid App. Development — Choosing the right Technology

Flutter vs React Native vs Ionic. What is your choice and why?

Building a Learning App?

React Native vs Flutter: Which is Best for Your App?