react / react/react-native

RN 0.87 | Blank dev tools is coming

未关闭
#58,590 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

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

描述

Description

Hello,

I have installed fresh react native(0.87) & when I have run android app & press "j" to open dev tools then blank screen is visible in dev tools screen so how to fix this ?

Steps to reproduce
  1. Create sample application.
  2. Run android app.
  3. From metro press "j" to open Dev Tools.
React Native Version

0.87.0

Output of npx @react-native-community/cli info
System:
  OS: Windows 11 10.0.26200
  CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
  Memory: 377.26 MB / 15.90 GB
Binaries:
  Node:
    version: 22.23.2
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.9.8
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "34"
      - "35"
      - "36"
      - "37"
    Build Tools:
      - 35.0.0
      - 36.0.0
      - 37.0.0
    System Images:
      - android-36 | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-251.26094.121.2513.14007798
  Visual Studio: Not Found
Languages:
  Java:
    version: 17.0.10
    path: C:\Program Files\BellSoft\LibericaJDK-17\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 20.2.0
    wanted: 20.2.0
  react:
    installed: 19.2.3
    wanted: 19.2.3
  react-native:
    installed: 0.87.0
    wanted: 0.87.0
  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 编号。

调研方向

首先在 Windows 上创建一个全新的 React Native 0.87 sample,运行 Android 应用,然后在 Metro 中按下 "j",以复现空白的 Dev Tools 屏幕。使用附加的屏幕截图和报告的环境详细信息来比较渲染结果;完成的标准是 Dev Tools 打开时显示预期内容,而不是空白屏幕。

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

评估

技术栈
react-native
领域
devtools, mobile-dev
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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