react / react/react-native

[0.85.3] React Native DevTools not working

未关闭
#56,714 14 条评论 11 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Debugging Needs: Attention Needs: Repro
主要语言
C++
星标
127k
派生
25.3k
平均合并
1 天 23 小时
30 天内合并 PR
4

描述

Description

React Native DevTools is not working after updating the react-native version to 0.85.3

Steps to reproduce
  1. Install the application with npm run android
  2. Press j to open the debugger
  3. The debugger shows empty screen

Example: https://github.com/rnkdsh/react-navigation-example

React Native Version

0.85.3

Output of npx @react-native-community/cli info
System:
  OS: Windows 11 10.0.26200
  CPU: (28) x64 Intel(R) Core(TM) i7-14700K
  Memory: 3.67 GB / 31.69 GB
Binaries:
  Node:
    version: 26.0.0
    path: C:\Users\ronak\AppData\Local\fnm_multishells\32268_1778138217881\node.EXE
  Yarn: Not Found
  npm:
    version: 11.12.1
    path: C:\Users\ronak\AppData\Local\fnm_multishells\32268_1778138217881\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "25"
      - "34"
      - "35"
      - "36"
      - "36"
      - "37"
    Build Tools:
      - 34.0.0
      - 35.0.0
      - 36.0.0
      - 36.1.0
      - 37.0.0
    System Images:
      - android-25 | Google Play Intel x86 Atom
      - android-28 | Google Play Intel x86 Atom
      - android-33 | Google Play Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
      - android-35 | Google Play Intel x86_64 Atom
      - android-36.1 | Google Play Intel x86_64 Atom
      - android-36 | Google Play Intel x86_64 Atom
      - android-37.0 | Pre-Release 16 KB Page Size Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-253.32098.37.2534.15336583
  Visual Studio: Not Found
Languages:
  Java:
    version: 17.0.11
    path: C:\Program Files\Microsoft\jdk-17.0.11.9-hotspot\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 20.1.3
    wanted: 20.1.3
  react:
    installed: 19.2.3
    wanted: 19.2.3
  react-native:
    installed: 0.85.3
    wanted: 0.85.3
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found
Screenshots and Videos
Image

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 React Native 0.85.3 在链接的 react-navigation 示例中重现该问题:运行 npm run android,按下 j,并确认调试器为空。将此行为与正常工作的 React Native 版本或设置进行比较,然后验证在启用 Hermes 和新架构的 Windows 11 上,React Native DevTools 能够显示其预期内容。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, javascript, react-native
领域
devtools, mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。