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 - Наука та технологія
Thank you very much, I was able to install it thanks to your video tutorial.
means a lot bro. Greaet to hear that. It's inspire me a lot to build great content
THANKYOU SO MUCH , I WAS GETTING SO MUCH ERRORS AND NOW ITS WORKING PERFECTLY 😭❤❤
Glad it helped
Thank you so much. your video helped me.
Glad it helped! Means a lot to me. Will keep posting such a great quality content.
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 😍😍
because I forget when I don't use the CLI for a long time
Great to hear!
wow, thank u Zero! 🤩
You're welcome 😊
thank you so much. I am try to config this for a week... then your video help me a lot. hugs from brazil
Glad it helped
Lots of bugs from Android 😂
One of the best videos on UA-cam!
Thanks bro means a lot to me..
Thanks man i face many problems from two days after your video solve all
awesome
Means a lot to me
We are launching a new course on full stack mobile development. if someone is interested please let me know. thanks
@@zerodegreecoder ok
Hii can you help me with the same
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?
just search on google you will find the resource
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?
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?
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
bro please install android sdk from android studio
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.
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
@@zerodegreecoder THANK YOU SO MUCH
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
bro I think your ram is less
Could not read workspace metadata from C:\Users\lenovo\.gradle\caches\transforms-4\811d16a68ee02c22b0645ee43f684d77\metadata.bin im getting this error
stackoverflow.com/questions/59589913/build-failure-on-android-studio-caches-transforms-2-files-2-1-e5ae7cf0f80ee425f
please check this resource
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
plz install sdk 34
@@zerodegreecoder I have installed sdk 34.0.0 correctly
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
Bro close your all terminal
Or restart your pc and then run the npm start
Thankyou sir, its working (issue is gradle file is missing that's it)
My android studio emulator is stuck on the Google logo screen what should i so sir
do cold boot please
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
your node is not installed properly
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
Thanks bhai
means a lot
Bro I am not able to click SDK platform.
It shows the android SDK location cannot be at the filesystem root
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
@@zerodegreecoder thank you so much brother.
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)
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
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
In Android studio..haxm is not installed..this error will be come
what is the error
hey , we have launched a full stack mobile development course. Are you interested to join the course.
Will it installs gradle and so many files right?? And it'll take so much storage space right..?? Please reply me...
yes it will, so you can use expo dude..
@@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...??
Android build is failing telling cmake file is not configured
stackoverflow.com/questions/45219049/android-studio-cmake-error-build-command-failed
please check this
FAILURE: Build failed with an exception. error get please help
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
thanks bro
Thankyou
means a lot bro
Hii . Im getting an error and im not able to install chocolatey.
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.
please let me know, if this works for you.
Thanks Bro
Welcome
for build apk. any video?
will do it bro
please increase sound while making video , thanks for the video it was very helpfull
Ok next time
thanks boss
Welcome
Sir please make video on latest version of react native 0.74
Will do it asap
❤❤❤❤
thanks
thank you
You're welcome
How to run a project in react native
npm start
then
a to open android apps
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
Please watch this video..
ua-cam.com/video/ZimgzKKEeUs/v-deo.html
my emulator got stuck on the Google icon
bro just restart your pc or increase the ram of your pc.
Bro I need your help please 😢
yeah sure, what is the error are you getting
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.
I am getting eroor
send the errro.
✖ Android SDK - Required for building and installing your app on Android
- Versions found: N/A
- Version supported: 34.0.0
please install android sdk
@@zerodegreecoder pls mention the video timing for your android sdk installation
✖ 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...
you had not installed the emulators and sdk .
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
phoenixnap.com/kb/npm-command-not-found
please check this out