react-native-debugger: Inspector get stuck at "Connecting to React…"
I did adb reverse tcp:8097 tcp:8097 but it doesn’t help.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 6
- Comments: 15 (8 by maintainers)
I did adb reverse tcp:8097 tcp:8097 but it doesn’t help.
react-devtools-core@2.3.0should fixed the problem, please update the package in your react-native project. (Note that it’s dependency ofreact-native)@jhen0409 Thank you, for some reason
adb reverse tcp:8097 tcp:8097works for me now.Android 6.0.1, RN 0.42.0, RN Debugger 0.6.2
I’ve tried:
requestIdleCallback(() => alert('works!'), { timeout: 1 })andrequestIdleCallback(() => console.log('works!'), { timeout: 1 }), neither are called.windowobject.if (__DEV__) { ... }statement in my app’s entry point.I still cannot connect to the React dev tools using a physical device (Waiting for React to connect…). I added a
console.log()insideif (__DEV__) { ... }just to make sure I am running in a dev environment and it prints correctly. I’m unsure what else to try at this point.