یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفهاسلام و وقت بخیر
من موقع اجرای react-native run-andriod به خطای ارتباطی با variable های environment مواجه میشم.
ممکنه راهنمایی کنید؟
شرح خطا در power shell:
PS C:\Users\mohammad\Desktop\React-p\testproj> react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 863 file(s) to forward-jetify. Using 4 workers...
info JS server already running.
info Installing the app...
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.
io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
at checkExecSyncError (child_process.js:629:11)
at execFileSync (child_process.js:647:13)
at runOnAllDevices (C:\Users\mohammad\Desktop\React-p\testproj\node_modules\@react-native-community\cli-platform-and
roid\build\commands\runAndroid\runOnAllDevices.js:74:39)
at buildAndRun (C:\Users\mohammad\Desktop\React-p\testproj\node_modules\@react-native-community\cli-platform-android
\build\commands\runAndroid\index.js:158:41)
at then.result (C:\Users\mohammad\Desktop\React-p\testproj\node_modules\@react-native-community\cli-platform-android
\build\commands\runAndroid\index.js:125:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
به Mohammad Ebrahimpour کمک کنید تا مشکل خودش را حل کند؛ اینطور میتوانیم با هم پیشرفت کنیم.
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟