بزرگترین جشنواره سال راکت! ۵۰ درصد تخفیف شگفت انگیز!
کلیک کن!دوستان من بعد نصب کتابخونه های react navigation به مشکل زیر خوردم وبرنامه اجرا نمیشه
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS J:\Boot Camp\PageNext\PageNext> npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 903 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
* daemon not running; starting now at tcp:5037
* daemon started successfully
info Launching emulator...
info Successfully launched emulator.
info Installing the app...
Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Task 'installDebug' not found in project ':app'.
* Try:
Run gradlew tasks to get a list of available tasks. 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 https://help.gradle.org
BUILD FAILED in 17s
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
FAILURE: Build failed with an exception.
* What went wrong:
Task 'installDebug' not found in project ':app'.
* Try:
Run gradlew tasks to get a list of available tasks. 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 https://help.gradle.org
BUILD FAILED in 17s
at makeError (J:\Boot Camp\PageNext\PageNext\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at J:\Boot Camp\PageNext\PageNext\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async runOnAllDevices (J:\Boot Camp\PageNext\PageNext\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
at async Command.handleAction (J:\Boot Camp\PageNext\PageNext\node_modules\@react-native-community\cli\build\index.js:186:9)
info Run CLI with --verbose flag for more details.
npm ERR! code 1
npm ERR! path J:\Boot Camp\PageNext\PageNext
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c react-native run-android
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\milad\AppData\Local\npm-cache\_logs\2021-04-09T15_59_06_715Z-debug.log
PS J:\Boot Camp\PageNext\PageNext>
به milad mrk کمک کنید تا مشکل خودش را حل کند؛ اینطور میتوانیم با هم پیشرفت کنیم.
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟