我正在尝试运行一个React Native项目,但是出现了一个错误,显示“Starting a Gradle Daemon, 14 busy and 1 incompatible and 2 stopped Daemons could not be reused, use --status for details”,之后终端保持空闲状态。
你好,我按照官方React Native文档中的步骤启动了一个新的React Native项目。一切都很完美,直到我在打开模拟器后运行了react-native run-android命令。我收到了以下错误信息:
“Starting a Gradle Daemon, 14 busy and 1 incompatible and 2 stopped Daemons could not be reused, use --status for details”
然后应用程序停留在“IDLE”状态,我无法在模拟器上显示React Native应用程序。
到目前为止,我已经尝试了我能找到的每一个博客/文章中提出的所有解决方案,但没有一个有效。
你好,我按照官方React Native文档中的步骤启动了一个新的React Native项目。一切都很完美,直到我在打开模拟器后运行了react-native run-android命令。我收到了以下错误信息:
“Starting a Gradle Daemon, 14 busy and 1 incompatible and 2 stopped Daemons could not be reused, use --status for details”
然后应用程序停留在“IDLE”状态,我无法在模拟器上显示React Native应用程序。
到目前为止,我已经尝试了我能找到的每一个博客/文章中提出的所有解决方案,但没有一个有效。
- 我尝试使用 gradle --stop 命令停止所有 gradle 进程。
- 我尝试删除 .gradle 目录。
- 我尝试删除 .gradle/5.4.1/daemon 文件,但我甚至无法在 gradle 版本文件夹中找到守护进程文件夹。
- 我尝试多次删除项目并使用 react-native init 创建新项目。
- 我尝试不更新 android studio 中打开新项目时建议更新的 gradle 软件。
- 我尝试使用另一台手机进行模拟器操作。
终端输出 - https://imgur.com/zReGarB 项目文件夹 - https://imgur.com/wsb3hC1