How to setup react native environment in windows 10,11 (2024)| How to install react native

Поділитися
Вставка
  • Опубліковано 5 лют 2024
  • How to setup react native environment in windows 10,11 (2024)| How to install react native
    nodejs.org/en/download
    www.oracle.com/java/technolog...
    chocolatey.org/install
    #reactnative
    #how to setup react native environment
  • Наука та технологія

КОМЕНТАРІ • 107

  • @nguyenngocmyquyenfugct961
    @nguyenngocmyquyenfugct961 4 місяці тому +1

    Thank you very much, I was able to install it thanks to your video tutorial.

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      means a lot bro. Greaet to hear that. It's inspire me a lot to build great content

  • @KaranXinghh
    @KaranXinghh 4 місяці тому

    THANKYOU SO MUCH , I WAS GETTING SO MUCH ERRORS AND NOW ITS WORKING PERFECTLY 😭❤❤

  • @lestherjosue1729
    @lestherjosue1729 4 місяці тому +1

    Thank you so much. your video helped me.

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому +1

      Glad it helped! Means a lot to me. Will keep posting such a great quality content.

  • @oberlordan6373
    @oberlordan6373 Місяць тому +1

    Your approach always helps me. I usually use EXPO, but sometimes I have to go back to the command line CLI, then your video helps.. THANK U 😍😍

  • @oberlordan6373
    @oberlordan6373 2 місяці тому

    wow, thank u Zero! 🤩

  • @GeorgeCampos
    @GeorgeCampos 4 місяці тому

    thank you so much. I am try to config this for a week... then your video help me a lot. hugs from brazil

  • @cd8788
    @cd8788 Місяць тому +1

    One of the best videos on UA-cam!

  • @Cricket_Stories86
    @Cricket_Stories86 5 місяців тому +3

    Thanks man i face many problems from two days after your video solve all

  • @thetabalavlogs3758
    @thetabalavlogs3758 21 день тому

    Expo go is not installed on device "small_ api_35" while running in offline mode.manually install expo go or run without -- offline flag (or expo -offliine environment variables).
    Showing what to do sir?

    • @zerodegreecoder
      @zerodegreecoder  19 днів тому

      just search on google you will find the resource

  • @PentaDreams
    @PentaDreams 4 місяці тому +2

    Android SDK - Required for building and installing your app on Android
    - Versions found: N/A
    - Version supported: 34.0.0
    Errors: 1
    Warnings: 1
    Usage
    › Press f to try to fix issues.
    › Press e to try to fix errors.
    › Press w to try to fix warnings.
    › Press Enter to exit.
    this error showing up brother what to do?

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      I have a solution: install Android SDK Command-line Tools:
      Please check this articles as well :-
      stackoverflow.com/questions/62635201/android-sdk-not-found-for-react-native
      Please check you had download all things as per requirement.
      Please let me know this helps you?

  • @daytienwestervelt5336
    @daytienwestervelt5336 2 місяці тому +1

    When I run the doctor, it shows that Android SDK isn't found. anybody have any idea? I've already done the command line tools as recommended in a few google answers:
    Android
    ✓ Adb - Required to verify if the android device is attached correctly
    ✓ JDK - Required to compile Java code
    ✓ Android Studio - Required for building and installing your app on Android
    ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation
    ✓ Gradlew - Build tool required for Android builds
    ✖ Android SDK - Required for building and installing your app on Android
    - Versions found: N/A
    - Version supported: 34.0.0

    • @zerodegreecoder
      @zerodegreecoder  2 місяці тому

      bro please install android sdk from android studio

  • @ysanggie
    @ysanggie 4 місяці тому +1

    WHAT TO DO? PLEASE I NEED YOUR HELP
    C:\Users\USER>java -version
    'java' is not recognized as an internal or external command,
    operable program or batch file.

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      you are getting this error when you had not setup the path of jdk correctly. In envrionment vairable please add jdk path. Please watch the tutorial carefully.
      If you still facing any error send message to this group we will help you out.
      chat.whatsapp.com/EasLTbi4osVEaaSR0fgSaf

    • @ysanggie
      @ysanggie 4 місяці тому

      @@zerodegreecoder THANK YOU SO MUCH

  • @user-ps7ki7zy8j
    @user-ps7ki7zy8j Місяць тому +1

    I've already done the configurations step by step but, everytime I try to run a virtual device it says it's "Starting up " and even After I wait 6hours no Android device is popping up, it's stuck, I'm losing my mind

  • @ramprasadgudepu5428
    @ramprasadgudepu5428 2 місяці тому +1

    Could not read workspace metadata from C:\Users\lenovo\.gradle\caches\transforms-4\811d16a68ee02c22b0645ee43f684d77\metadata.bin im getting this error

    • @zerodegreecoder
      @zerodegreecoder  2 місяці тому +1

      stackoverflow.com/questions/59589913/build-failure-on-android-studio-caches-transforms-2-files-2-1-e5ae7cf0f80ee425f
      please check this resource

  • @taitukiemtien4301
    @taitukiemtien4301 Місяць тому

    I installed SDK 34.0.0 but when running npx react-native doctor I still get the error Android SDK - Required for building and installing your app on Android
    - Versions found: N/A
    - Version supported: 34.0.0

  • @vineeshw8288
    @vineeshw8288 4 місяці тому +1

    sir, when i start with run android i got the error that is info Opening app on Android...
    info A dev server is already running for this project on port 8081.
    info Launching emulator...
    info Installing the app...
    Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details so sir how to fix it

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      Bro close your all terminal

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      Or restart your pc and then run the npm start

    • @vineeshw8288
      @vineeshw8288 4 місяці тому

      Thankyou sir, its working (issue is gradle file is missing that's it)

  • @uneeqdev
    @uneeqdev Місяць тому +1

    My android studio emulator is stuck on the Google logo screen what should i so sir

  • @mariamlad8521
    @mariamlad8521 2 місяці тому +1

    Can you please help i get this error : PS C:\Users\DELL> npx react-native@latest init AwesomeProject
    /mnt/c/Users/DELL/AppData/Local/npm-cache/_npx/dea611a43221eddd/node_modules/.bin/react-native: 15: exec: node: not found. i nstalled nodejs and set the path

    • @zerodegreecoder
      @zerodegreecoder  2 місяці тому

      your node is not installed properly

    • @mariamlad8521
      @mariamlad8521 2 місяці тому

      there was no issue with node installation. i set shell to null using ' npm config set script-shell=null ' command, now it's working fine.Thanks

  • @SambitSahoo-bp9zb
    @SambitSahoo-bp9zb Місяць тому +2

    Thanks bhai

  • @AnilKumar-hr5uq
    @AnilKumar-hr5uq 4 місяці тому +1

    Bro I am not able to click SDK platform.
    It shows the android SDK location cannot be at the filesystem root

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      stackoverflow.com/questions/68046043/the-android-sdk-location-cannot-be-at-the-filesystem-root
      this will help you out please have a look into it

    • @AnilKumar-hr5uq
      @AnilKumar-hr5uq 4 місяці тому +1

      @@zerodegreecoder thank you so much brother.

  • @AnilKumar-lw6nz
    @AnilKumar-lw6nz 2 місяці тому +1

    getting error can someone help me out please
    FAILURE: Build failed with an exception.
    * What went wrong:
    java.io.UncheckedIOException: Could not move temporary workspace (C:\git_code\Android\practice\Practice_Project\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a-0df88cc3-4630-4bf8-b74f-1000132fa445) to immutable location (C:\git_code\Android\practice\Practice_Project\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a)
    > Could not move temporary workspace (C:\git_code\Android\practice\Practice_Project\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a-0df88cc3-4630-4bf8-b74f-1000132fa445) to immutable location (C:\git_code\Android\practice\Practice_Project\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a)

    • @zerodegreecoder
      @zerodegreecoder  2 місяці тому

      stackoverflow.com/questions/78371773/how-can-i-solve-this-type-of-exception#:~:text=This%20could%20be%20because%20the%20project%20is%20nested,sync%2Fwatch%20from%20OneDrive%20and%20attempt%20your%20build%20again.
      Please take a look

    • @Chintu190
      @Chintu190 2 місяці тому

      same issue , and am in trouble since last 4 days for this , please make a tutorial to fix this or how can i contact u , pls help me out​@@zerodegreecoder

  • @vaishnavishirsath6957
    @vaishnavishirsath6957 5 місяців тому +1

    In Android studio..haxm is not installed..this error will be come

    • @zerodegreecoder
      @zerodegreecoder  5 місяців тому

      what is the error

    • @zerodegreecoder
      @zerodegreecoder  5 місяців тому

      hey , we have launched a full stack mobile development course. Are you interested to join the course.

  • @SanjayNG125
    @SanjayNG125 Місяць тому +1

    Will it installs gradle and so many files right?? And it'll take so much storage space right..?? Please reply me...

    • @zerodegreecoder
      @zerodegreecoder  Місяць тому

      yes it will, so you can use expo dude..

    • @SanjayNG125
      @SanjayNG125 Місяць тому

      @@zerodegreecoder hmm tq I'm new to this so I'm tensed that where my 6gb storage gone...😅 Ok how to remove this completely bcz it took 6-7gb so can I remove this completely from my computer...??

  • @prathveeshbhat4523
    @prathveeshbhat4523 15 днів тому +1

    Android build is failing telling cmake file is not configured

    • @zerodegreecoder
      @zerodegreecoder  3 дні тому

      stackoverflow.com/questions/45219049/android-studio-cmake-error-build-command-failed
      please check this

  • @SatyajitSahoo-r8p
    @SatyajitSahoo-r8p 20 днів тому

    FAILURE: Build failed with an exception. error get please help

    • @jen_sen0P
      @jen_sen0P 19 днів тому +1

      It looks like Gradle is not installed or not added to your system's PATH. Here's how you can install Gradle and add it to your PATH on Windows:
      Step 1: Download Gradle
      Go to the Gradle releases page.
      Download the latest binary-only zip file.
      Step 2: Extract the Gradle ZIP File
      Extract the downloaded ZIP file to a location of your choice, e.g., C:\Gradle.
      Step 3: Set Up Environment Variables
      Open Environment Variables:
      Right-click on This PC or My Computer on your desktop or in File Explorer.
      Click on Properties.
      Click on Advanced system settings.
      Click on the Environment Variables button.
      Add a new System Variable:
      Click on New under the System variables section.
      Set the Variable name to GRADLE_HOME.
      Set the Variable value to the path where you extracted Gradle, e.g., C:\Gradle\gradle-7.5.
      Update the PATH variable:
      Find the Path variable in the System variables section and select it.
      Click Edit.
      Click New and add %GRADLE_HOME%\bin.
      Apply Changes:
      Click OK to close all dialog boxes.
      Step 4: Verify Installation
      Open a new Command Prompt window.
      Type gradle --version and press Enter.
      You should see the Gradle version information, confirming that Gradle is installed and properly set up.
      Step 5: Restart Your Project
      After setting up Gradle, go back to your project directory and try running the Metro Bundler again:
      sh
      Copy code
      npm start
      If you still face the same EADDRINUSE issue, repeat the steps to kill the process on port 8081:
      sh
      Copy code
      netstat -ano | findstr :8081
      taskkill /PID 19028 /F
      Then, start the Metro Bundler:
      sh
      Copy code
      npm start
      PS:
      in short you gotta install gradle binary version and add it to path and run as shown in the vid...hope it helps

    • @zerodegreecoder
      @zerodegreecoder  19 днів тому +1

      thanks bro

  • @kishanr8387
    @kishanr8387 4 місяці тому +1

    Thankyou

  • @HimanshiRana-tp7rj
    @HimanshiRana-tp7rj 4 місяці тому +1

    Hii . Im getting an error and im not able to install chocolatey.

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      if you are not able install with chocalate. you can install manually nodejs, and jdk as I told in this video.
      Or if you just do google that error that will get sort it out.

    • @zerodegreecoder
      @zerodegreecoder  4 місяці тому

      please let me know, if this works for you.

  • @ajayvishwakarma2648
    @ajayvishwakarma2648 25 днів тому

    Thanks Bro

  • @mdrasedulislam4465
    @mdrasedulislam4465 2 місяці тому +1

    for build apk. any video?

  • @Appdev_reactnative
    @Appdev_reactnative 3 місяці тому +1

    please increase sound while making video , thanks for the video it was very helpfull

  • @lochanaedirisooriya3628
    @lochanaedirisooriya3628 21 день тому

    thanks boss

  • @Islamic-Channel2023
    @Islamic-Channel2023 14 днів тому +1

    Sir please make video on latest version of react native 0.74

  • @atikaakram7900
    @atikaakram7900 3 місяці тому +1

    ❤❤❤❤

  • @user-yl4mn9wg1d
    @user-yl4mn9wg1d 3 місяці тому

    thank you

  • @navneet918
    @navneet918 3 місяці тому +1

    How to run a project in react native

  • @user-qc4bv2dt3b
    @user-qc4bv2dt3b Місяць тому +1

    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.
    > A build operation failed.
    Could not move temporary workspace (C:\Users
    oor2\.gradle\caches\transforms-4\f54a174a25fa29b06e5c0dc4937c09a4-b15c8535-e896-4f3a-8ae8-621018b64dd7) to immutable location (C:\Users
    oor2\.gradle\caches\transforms-4\f54a174a25fa29b06e5c0dc4937c09a4)
    > Could not move temporary workspace (C:\Users
    oor2\.gradle\caches\transforms-4\f54a174a25fa29b06e5c0dc4937c09a4-b15c8535-e896-4f3a-8ae8-621018b64dd7) to immutable location (C:\Users
    oor2\.gradle\caches\transforms-4\f54a174a25fa29b06e5c0dc4937c09a4)
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at help.gradle.org.
    BUILD FAILED in 3m 24s i got this when i write npm start

    • @zerodegreecoder
      @zerodegreecoder  Місяць тому

      Please watch this video..
      ua-cam.com/video/ZimgzKKEeUs/v-deo.html

  • @ElevateYourLife6
    @ElevateYourLife6 3 місяці тому +2

    my emulator got stuck on the Google icon

    • @zerodegreecoder
      @zerodegreecoder  3 місяці тому

      bro just restart your pc or increase the ram of your pc.

  • @VINAYTECHHUB
    @VINAYTECHHUB 5 місяців тому +1

    Bro I need your help please 😢

    • @zerodegreecoder
      @zerodegreecoder  5 місяців тому

      yeah sure, what is the error are you getting

    • @zerodegreecoder
      @zerodegreecoder  5 місяців тому

      we had launched react native course. please let me know if you interested to join out full stack mobile development course. Paid. 7 days free trial.

  • @32anchalprajapati21
    @32anchalprajapati21 2 місяці тому +1

    I am getting eroor

  • @user-lm1db5sw5h
    @user-lm1db5sw5h 3 місяці тому

    ✖ Android SDK - Required for building and installing your app on Android
    - Versions found: N/A
    - Version supported: 34.0.0

    • @zerodegreecoder
      @zerodegreecoder  3 місяці тому

      please install android sdk

    • @user-lm1db5sw5h
      @user-lm1db5sw5h 3 місяці тому

      @@zerodegreecoder pls mention the video timing for your android sdk installation

  • @sivasaireddy1601
    @sivasaireddy1601 8 днів тому

    ✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device.
    ✓ JDK - Required to compile Java code
    ✓ Android Studio - Required for building and installing your app on Android
    ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation
    ✓ Gradlew - Build tool required for Android builds
    ✖ Android SDK - Required for building and installing your app on Android
    - Versions found: N/A
    - Version supported: 34.0.0
    Errors: 2
    Warnings: 0
    Attempting to fix 2 issues...

  • @ahmadnaqvi7769
    @ahmadnaqvi7769 3 місяці тому +1

    PS C:\Users\Marhaba> npm install -g npm@latest
    >>
    npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
    correct and try again.
    At line:1 char:1
    + npm install -g npm@latest
    + ~~~
    + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    help me out brother

    • @zerodegreecoder
      @zerodegreecoder  3 місяці тому

      phoenixnap.com/kb/npm-command-not-found
      please check this out