React-devtools: stuck at Waiting for React to connect...

Created on 9 Oct 2018  ·  2Comments  ·  Source: facebook/react-devtools

Hi,
I'm constantly getting the popular message: "Waiting for React to connect...". I've tried a lot of "solutions" and workarounds, but didn't get far.

What I've tried:
Use GenyMotion android emulator instead -> no difference.
Tried to toggle development mode on and of.
I've tried to run adb reverse tcp:8097 tcp:8097, but to no avail.
The farthest I've gotten was when I adb-reversed the port and then entered my inet address + port on my device's developer menu > Dev Settings > Debug server host & port for device. When I did that the message changed to "Connecting to react...", but yet again, after waiting 15 minutes, I realized I was stuck.

React Native version: 56.0
Platform: Android, real device
Operating System: Linux
App created by CRNA, but ejected.

Most helpful comment

Shake device to invoke developer menu. Click "Debug Remote JS". Now you can debug remotely with such tools as react-devtools, but i recommend react-native-debugger.

All 2 comments

Shake device to invoke developer menu. Click "Debug Remote JS". Now you can debug remotely with such tools as react-devtools, but i recommend react-native-debugger.

React DevTools has been rewritten and recently launched a new version 4 UI. The source code for this rewrite was done in a separate repository and now lives in the main React repo (github.com/facebook/react).

Because version 4 was a total rewrite, and all issues in this repository are related to the old version 3 of the extension, I am closing all issues in this repository. If you can still reproduce this issue, or believe this feature request is still relevant, please open a new issue in the React repo: https://github.com/facebook/react/issues/new?labels=Component:%20Developer%20Tools

Was this page helpful?
0 / 5 - 0 ratings