آموزش جاوااسکریپت انجمن ها react native اجرای react-native روی جنی موشن پاسخ به: اجرای react-native روی جنی موشن

#57669
رضا
میهمان

باسلام
هنگام اجرای پروژه ری اکت نیتیو خطاهای زیر نشان داده میشه در ضمن جهت شبیه ساز از جنی موشن استفاده میکنم و اندروید استودیو هم نصب است و ویندوز 10 است. در ضمن شبیه ساز جنیموشن را هم از داخل اندروید استودیو اجرا میکنم و با موفقیت هماجرا میشه ولی هنگام اجرای پروژه ری اکت خطای اجرا نبودن شبیه ساز را میده لطفا راهنمایی بفرمایید.باتشکر
PS C:\Users\R&T\Desktop\project\reactnative\secondpo> react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using “–no-jetifier” flag.
Jetifier found 896 file(s) to forward-jetify. Using 4 workers…
info Starting JS server…
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
info Launching emulator…
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
‘C:\Users\R’ is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
error Failed to launch emulator. Reason: Emulator exited before boot..
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app…
‘T\Desktop\project\reactnative\secondpo\android\’ is not recognized as an internal or external command,
operable program or batch file.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
‘T\Desktop\project\reactnative\secondpo\android\’ is not recognized as an internal or external command,
operable program or batch file.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

at makeError (C:\Users\R&T\Desktop\project\reactnative\secondpo\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at C:\Users\R&T\Desktop\project\reactnative\secondpo\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (C:\Users\R&T\Desktop\project\reactnative\secondpo\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
at async Command.handleAction (C:\Users\R&T\AppData\Roaming\npm\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:186:9)
info Run CLI with –verbose flag for more details.