React Native 101: Building Your First App and Troubleshooting Common Issues

  Рет қаралды 199,268

Hitesh Choudhary

Hitesh Choudhary

Күн бұрын

Пікірлер: 246
@LorenzoJimenez
@LorenzoJimenez 2 жыл бұрын
Kudos for this rare video. There are many issues to face: upgrading to a higher React Native version, when Apple deprecates a version of IOS, 3rd party libraries not upgraded to a new react version or incompatible to a higher verion of ios or android
@pademo57
@pademo57 2 жыл бұрын
Absolutely love these videos. Finally someone who explains not only what is the best way to set this up but also what to look for or what to do when something goes wrong. Thank you and keep up the good work!
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
Glad it was helpful!
@mehdi2368
@mehdi2368 Жыл бұрын
for people who are facing problems setuping env i recommend you to start with expo and then after you learn react native you can solve your previous problems
@relks8429
@relks8429 Жыл бұрын
For everyone that is having problems, do not use expo go under any circunstancies. It will bring you lot of more problems.
@AnonymousBangali-r8p
@AnonymousBangali-r8p 15 сағат бұрын
@@relks8429 No, you're wrong. React Native from now on suggests using Expo
@NOT_TON_Fan
@NOT_TON_Fan Жыл бұрын
React Native environment setup is damn difficult but finally I've done it in 2 hrs. Most of the issues were solved by setting the env variable.
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
It’s definitely worth it
@surajmaurya1515
@surajmaurya1515 Жыл бұрын
Can you Help me ? PLease
@venkatchalam6385
@venkatchalam6385 2 жыл бұрын
After long time I am waiting for your video for react native thank u
@guddubhaiyathikanamirzapur4079
@guddubhaiyathikanamirzapur4079 Жыл бұрын
Your videos are easily understandable...Even if I have to pay something for these kinds of lectures, I will happily do it.
@shivtiwarii
@shivtiwarii Жыл бұрын
to those who are facing the issue with the final command that starts the preview on the device, try running "npm run start" in a separate terminal and then in another terminal run "npm run android"
@samarththaker5051
@samarththaker5051 Жыл бұрын
Thank you vey much. I could not figure out what to do.
@vivekkushwaha9334
@vivekkushwaha9334 4 ай бұрын
Thanks, I have been struggling with the same error over more than two weeks.
@Peterin
@Peterin Жыл бұрын
how to bring the phones screen on the laptop? Anybody pls provide a solution for mac
@devksingh9790
@devksingh9790 4 ай бұрын
android studio
@virinchibalusani5726
@virinchibalusani5726 9 ай бұрын
Thanks buddy💚 Great job Hashnode🤝
@newyantra
@newyantra 3 ай бұрын
Successfully configured my android device for react native. Thank you so much, sir.
@oseifrimponggg
@oseifrimponggg 7 ай бұрын
I just love the constant reassurances. I hope I am able to make it to the end of the series 😄!
@B-NikhilRichhariya
@B-NikhilRichhariya 8 ай бұрын
took me two days to install and run lol
@WinNair-q6p
@WinNair-q6p 2 ай бұрын
Literally brother 😢😢
@krishudevines3674
@krishudevines3674 16 күн бұрын
Me too 😢😢
@bhumit070
@bhumit070 2 жыл бұрын
sir how do you mirror phone on mac ?
@rehandev7833
@rehandev7833 Жыл бұрын
After facing my first error in getting the Metro Server up and running, really excited to start writing code in React Native. Moving onto the next video :)
@sumitram4132
@sumitram4132 Жыл бұрын
It's takes 3 months to setup using CLI process but finally did it.
@shubhambahre9021
@shubhambahre9021 Жыл бұрын
The discord link is not working. It says "Privay error"
@sohankumardash1109
@sohankumardash1109 Жыл бұрын
Hello Hitesh Sir, Please also make a video on how you set up your android studio. I found it hard to install it. My app is not running and its trying to download some libraries and then fails. Thanks
@sreeshilck9525
@sreeshilck9525 Жыл бұрын
How to mirror the device to laptop? 6:44
@mazzghul
@mazzghul Жыл бұрын
+1 did you find a solution ?
@10bhavankumarv47
@10bhavankumarv47 2 жыл бұрын
Hi sir great video 👏 BTW, when I run "adb devices" it's not listing any devices. Also could you please explain how to mirror the output on our phone more elaborately on the next episode? Thanks in advance 😉
@baanuaali2818
@baanuaali2818 Жыл бұрын
Thank you very much, amazing course, the best i found, everything clear
@SammarpanDasguptaOfficial
@SammarpanDasguptaOfficial 2 жыл бұрын
Nice work sir.... Some struggle to setup but worth it... Excited for next video
@khushsharma6470
@khushsharma6470 Жыл бұрын
its been 3 days i couldn’t do it can you help me
@techyguyaditya
@techyguyaditya 2 ай бұрын
React native setup is nowadays very effortless if you use the Expo framework. Just install android-sdk, java, maybe xcode, that's it (much more effortless if you use apt commands in linux). It's as easy as scanning a qr code on mobile to run an application. You can always use expo snack if you don't want installation headaches temporarily.
@srinibaskhuntia201
@srinibaskhuntia201 2 жыл бұрын
Man, installing react native was such a pain in the ass.Finally was able to do it.
@anirudhcodes
@anirudhcodes Жыл бұрын
awesome!
@khushsharma6470
@khushsharma6470 Жыл бұрын
bro i stiill cant ddo iit can you help me
@krawl97ing
@krawl97ing Жыл бұрын
What's the name of the VSCode theme that you are currenltly using? :)
@azam2390
@azam2390 Жыл бұрын
"Noctis"
@ahmedsstudio8924
@ahmedsstudio8924 Ай бұрын
at 6.45 min how prepared the device?
@pitamdas4882
@pitamdas4882 Жыл бұрын
Finally it done. After 3 hours. Thank hitesh sir, also thanks chatGpt
@khushsharma6470
@khushsharma6470 Жыл бұрын
its been 3 days for me i coudlnt do it can you help me
@pitamdas4882
@pitamdas4882 Жыл бұрын
What type of problem
@khushsharma6470
@khushsharma6470 Жыл бұрын
@@pitamdas4882 What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not determine the dependencies of null. > SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/khushsharma/awesome01/android/local.properties'.
@techsonaniya8923
@techsonaniya8923 Жыл бұрын
Very good teaching skills
@deepyadav6918
@deepyadav6918 Ай бұрын
How did he connected his phone device ?? I am not getting any configuration option on my android app
@AnjaliYadav-p3h8y
@AnjaliYadav-p3h8y Ай бұрын
that term """adb --version""" is not recognized. Pls help in this....
@narendermudgal
@narendermudgal Жыл бұрын
do you have any video to run first app on iOS ?
@kazitanim007
@kazitanim007 9 ай бұрын
FYI: run "npm" instead of "npx" and hopefully there will be no issues if all the settings are fine. - npm start - npm run android
@weligamage1
@weligamage1 Жыл бұрын
Thank you very much. This is really helpful.
@_Blackwolf_01
@_Blackwolf_01 Жыл бұрын
can i use expo
@anirudhamahale1955
@anirudhamahale1955 2 ай бұрын
How can I run the application using the debug button on vscode? and also add break points. can you make a video on that too 😅
@asmakamaal1258
@asmakamaal1258 Жыл бұрын
Thank you so much Sir for this...😊🌼
@EthicalRaja
@EthicalRaja 2 жыл бұрын
Thankuuuuuiu 🥺🥺🥺
@lordmod9325
@lordmod9325 2 жыл бұрын
For windows we can use global environment variables for sdk
@RashiGoel-w6m
@RashiGoel-w6m 19 күн бұрын
Hi Hitesh Sir, can you please help with the solution for below error-- execution failed for checkdebugaarmetadata
@SSC__CLASSES
@SSC__CLASSES 7 ай бұрын
a note for those who build nowadays run npm start first and then run in another terminal npm run android and if there is a error then make a fresh install of android studio and jdk (i got issue with that)
@Childrenworldfunny
@Childrenworldfunny 4 ай бұрын
Great sir but kash ye course Hindi me hota ...😢😢
@anubhavseet004
@anubhavseet004 7 ай бұрын
Sir it took me a day to figure out and solve the errors, but at last i was able to build the app
@siddharthabajpai4182
@siddharthabajpai4182 Жыл бұрын
love you sir ji....🙂🙂🙂🙂almost lost my calm starting the app. but you were right. make errors your friend. thank you sir
@_nightfall_artist
@_nightfall_artist 4 ай бұрын
Actually i have a doubt I created an app during second video. can i code there or create a new one again?
@LakshitAmeta
@LakshitAmeta Жыл бұрын
I'm getting an error activity class does not exist I tried a lot but I'm not able to resolve it
@niteshbisht31
@niteshbisht31 Ай бұрын
whoever not able to run their first app due to some error, run "npx react-native doctor" command it will check and tells you what is missing and how to fix.
@anmoldwivedi9447
@anmoldwivedi9447 3 ай бұрын
when I am doing in cmd it's working but in visiual studio my node.js not open why?
@The_Aesthetic_Developer
@The_Aesthetic_Developer 11 ай бұрын
why is your discord http and not https ?
@AshishYadav_63
@AshishYadav_63 Жыл бұрын
Waiting for next video sir......I am also learning backend dev using node js and express hope mobile development and Web development don't mix-up just because I'm learning them both at same time 🙂
@abdu5822
@abdu5822 2 жыл бұрын
What about using npx create-expo-app ? the diff and when to use one ?
@soumyadeepsengupta530
@soumyadeepsengupta530 Жыл бұрын
sir i everyday i check for the new video for the course . i am very much excited for the whole series
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
Glad to hear that
@sujalmudaliar3030
@sujalmudaliar3030 4 ай бұрын
how to mirror the andriod or ios phone screen? using the andriod studio API?
@iqbalhussaincs9998
@iqbalhussaincs9998 Жыл бұрын
Thank you sir ❤️
@harshit2629
@harshit2629 11 ай бұрын
❤thank you Sir
@anshikgupta2993
@anshikgupta2993 9 ай бұрын
Hey can I get the discord channel link as I am facing issues while running the application android / ios emulator on a MAC computer.
@nike101m
@nike101m Жыл бұрын
HI bro, The option Select USB Configuration not shown in Onepluse 7t mobile.
@frankbuzzz
@frankbuzzz 7 ай бұрын
Hello Sir, When I continue using my app the app runs fine but when I don't use it for more than 5 minutes it slows down for a minute and then it seems to be running normally as before. I made my app react native. While its backend code is written in codeignitor4, the data from PHP and API is being fetched at the right time for viewing from postman, what is the problem, why is my app getting slow.
@ashutoshchaurasiaco.543
@ashutoshchaurasiaco.543 6 ай бұрын
Could not open settings generic class cache for settings this happening with me
@samuelasiabaka365
@samuelasiabaka365 Жыл бұрын
I use a windows laptop and an iphone, anyway to use both?
@codeBUG1534
@codeBUG1534 Жыл бұрын
Sir mine npx react-native run-android is taking too much time to load. it's my very first time learning react-native. How can i resolve it Sir ?
@yogitasingla6468
@yogitasingla6468 Жыл бұрын
i always get this error when opening in android studio - error Cannot start server in new window because no terminal app was specified. you just need to use npm start before run command in this case
@NaveenKumar-jo6cv
@NaveenKumar-jo6cv Жыл бұрын
I can not find my device under the "adb devices" command. I also tried using emulator but it also gives me an error stating: Could not open settings generic class cache for settings file
@Learntocode-balaji
@Learntocode-balaji Жыл бұрын
Hello sir...while running the app I'm getting error that unable to load script and some bundle related issue.. I have tried everything which I knew but the error didn't solve.
@harshalsathe3946
@harshalsathe3946 Жыл бұрын
Dear Hitesh, I am a web designer and currently making websites in WordPress but I am facing so much problem in page loading speed and hacking attempts on WordPress website as its uses theme and plugins... I want to devolve a dynamic website which is fast in loading compare to WordPress easy to maintain .. and no need to update the code frequently ... What language or framework will you suggest me ..please guide me on this...
@pasidurajapaksha8925
@pasidurajapaksha8925 Жыл бұрын
your ssl cetificate has expired ,having a hard time getting the discord link,
@piyush-singhania
@piyush-singhania Жыл бұрын
So far with you 💌 (will keep on posting this comment to track my progress)
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
Keep it up
@piyush-singhania
@piyush-singhania Жыл бұрын
@@HiteshCodeLab Thank you for the course sir
@mridulbagla
@mridulbagla Жыл бұрын
Please help, if you can:- When I am building the app with cmd (npx react-native run-android), there are multiple files start downloading, in which one of them is of 188mb in size and the download speed is very slow.
@amirmule5333
@amirmule5333 Жыл бұрын
For first time it is lengthy process and taking more time. But later on it works fine. I am talking about windows platform.
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
Thanks for helping
@achyuthr9104
@achyuthr9104 Жыл бұрын
can anyone help like how to cast my mobile screen on pc??
@Shubham_Karne
@Shubham_Karne 3 ай бұрын
how can you create android device for running that I am confused please help me
@riteshhans15
@riteshhans15 5 ай бұрын
facing an issue > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66
@MrTarang1
@MrTarang1 Жыл бұрын
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not determine the dependencies of null. > Cannot query the value of this provider because it has no value available. can you tell me issue when i runing android on mac this error comes @hitesh
@Saka.D
@Saka.D Жыл бұрын
i cannot connect my ios physically to the vscode instead of android. please help!
@Rdx_rahul04
@Rdx_rahul04 Жыл бұрын
Where is the today's video ?
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
It will be available tomorrow
@shakyaji563
@shakyaji563 Жыл бұрын
Hi i have used a company laptop. So we didn't install adb driver. Now what i do for run first program
@shirakuyanai4095
@shirakuyanai4095 5 ай бұрын
Lol my freshly downloaded code shows a bunch of errors to the point the editor turns totally red but still runs. What gives?
@alakhkaler664
@alakhkaler664 Жыл бұрын
there is not set up video for the mac
@mdmasudurrahman851
@mdmasudurrahman851 7 ай бұрын
how can i add devices ?
@muhammadbilal-sd9kf
@muhammadbilal-sd9kf Жыл бұрын
Can you share the Discord Server link the given link is not working
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
hitesh.ai/discord
@manavdobariya9755
@manavdobariya9755 Жыл бұрын
I shifted to react-native CLI, since last two days,more than two hours each day spent in installation process...I got bunch of error while the same process but at the End "BUILD SUCCESSFULL" and satisfaction too...🎉☕
@sahilverma_dev
@sahilverma_dev 2 жыл бұрын
I am using expo client. So will it be ok to continue or should I install React Native this way?
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
I will use CLI in course, rest is your choice 🙂
@alimosbah
@alimosbah 2 жыл бұрын
Let's start this experiment together
@faisalrahman418
@faisalrahman418 2 жыл бұрын
I have installed and learned angular in vscode. is there any problem in installing react also in the vscode.? or should i need to install locally instead of global ?
@anirudhcodes
@anirudhcodes 2 жыл бұрын
There will be no problem I believe
@guptapandiri
@guptapandiri 2 жыл бұрын
Hey, you don't need to install react or react native globally, you can use the npx command like npx create-react app or npx react-native init, which fetches the latest version. Anyway even if you install it globally, it won't be a problem.
@codewithroman8180
@codewithroman8180 Жыл бұрын
Finaly i also solve problem from ur tutorial i love from pakistan
@dhairyashgupta
@dhairyashgupta 2 жыл бұрын
Sir, do I need to use another android phone or can I use my regular android phone for learning react native? and thank you so much for the amazing series.
@rohankumartalreja
@rohankumartalreja 2 жыл бұрын
You can use your regular phone.
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
Your regular phone is fine
@chasedonovan8937
@chasedonovan8937 Жыл бұрын
@@HiteshCodeLab what if i have iphone and not android?
@unstoppable-ayush
@unstoppable-ayush Жыл бұрын
error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
Try our discord server, folks are very kind and helpful there. We will surely help you
@unstoppable-ayush
@unstoppable-ayush Жыл бұрын
@@HiteshCodeLab thanks u sir 😄 Now problem solved, helpful peoples
@AliZoid-v7k
@AliZoid-v7k Жыл бұрын
Couldn't connect with discord channel need help please
@ajith2796
@ajith2796 Жыл бұрын
9:42 Thanks 👍
@sagz83
@sagz83 11 ай бұрын
All worked fine but the app keeps crashing on opening in emulator as well as phone , can some one help
@ujjawalrachhoya8972
@ujjawalrachhoya8972 Жыл бұрын
when i cun npm run android it takes lots of time around 15-20 mint but at the end it simple running not loading the app any solution
@lighteningbladegaming715
@lighteningbladegaming715 Жыл бұрын
Sir , when the next video will be out , eagerly waiting for that 🥺
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
Today, it’s already up for premier
@rv-web
@rv-web Жыл бұрын
Hi, Could you help me the guide to setup environment on macOS? I followed the documentation but getting many errors. Also it slowdown performance of my macOS. Using RN 0.71.6 version
@madhu1591
@madhu1591 Жыл бұрын
I am getting blank screen on virtual device even though the build is successful. Could anyone please help to resolve it
@unknown6032
@unknown6032 Жыл бұрын
Where is the 4th part of this series i am waiting for 1 day
@HiteshCodeLab
@HiteshCodeLab Жыл бұрын
It will be available this week. Currently I am in Kerala
@unknown6032
@unknown6032 Жыл бұрын
@@HiteshCodeLab ok thanks
@daggupativishal7078
@daggupativishal7078 Жыл бұрын
Plz help Iam facing an error of "could not open settings generic class cache for settings file react native"
@ANKUSHJHA-mw7ni
@ANKUSHJHA-mw7ni 9 ай бұрын
Same Error I am facing, how to resolve this?
@100xcoding
@100xcoding 2 жыл бұрын
Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`. warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
@Coder_DhruvArora
@Coder_DhruvArora Жыл бұрын
I think your device is not connect with pc properly
@me_har
@me_har Жыл бұрын
to run app is Android SDK 12 is mandatory or Android SDK 13 will also work ? As Currently I am facing error Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
@me_har
@me_har Жыл бұрын
thanks to you after adding path of adb in system variables I was able to run my first react native app.Thank you ❤❤
@jokejungle-p1w
@jokejungle-p1w 10 ай бұрын
very help full video
@kousthubhyadavalli1077
@kousthubhyadavalli1077 Жыл бұрын
unable to join discord server
@yt-1161
@yt-1161 9 ай бұрын
for me it worked without needing to create "local.properties" file
@sagar-ko3gb
@sagar-ko3gb Жыл бұрын
how to setup for iphone
React Native File Structure: Best Practices and Tips
14:03
Hitesh Choudhary
Рет қаралды 129 М.
React native windows installation
20:14
Hitesh Choudhary
Рет қаралды 256 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
The Biggest Mistake Intermediate React Developers Make
18:32
Cosden Solutions
Рет қаралды 46 М.
From React to React Native in 12 Minutes
12:33
Simon Grimm
Рет қаралды 31 М.
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 191 М.
7 Design Patterns EVERY Developer Should Know
23:09
ForrestKnight
Рет қаралды 217 М.
Rewrite React Native App
12:14
Hitesh Choudhary
Рет қаралды 87 М.
React Native Tutorial for Beginners - Build a React Native App
2:06:30
Programming with Mosh
Рет қаралды 3,2 МЛН
Expo in 100 Seconds
2:39
Fireship
Рет қаралды 633 М.
Styling React Native Components: The Fundamentals of Stylesheet
17:51
Hitesh Choudhary
Рет қаралды 97 М.