React Devtools not working

Hello, i’m using React Native with Expo and now i want to use React Developer Tools so i installed it with this tutorial: Using react-devtools with React Native | by Brent Vatne | Exposition
My current “package.json” file is

{
  "name": "empty-project-template",
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "eject": "expo eject",
    "devtools": "react-devtools"
  },
  "dependencies": {
    "expo": "^31.0.2",
    "react": "16.5.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-31.0.0.tar.gz",
    "react-native-elements": "^1.0.0-beta7",
    "react-native-fontawesome": "^6.0.1",
    "react-native-responsive-screen": "^1.2.0",
    "react-native-scalable-image": "^0.4.0",
    "react-native-vector-icons": "^6.1.0"
  },
  "devDependencies": {
    "babel-preset-expo": "^5.0.0",
    "react-devtools": "^3.6.0"
  }
}

If i start React devtools the programm opens and says “waiting for react to connect”. but i already run expo lokal on an android emulator. The App is working normal but nothing happens. Can anyone help me please?

  • DreamGamer

Oh ups sorry i got it. I forgot this line “adb reverse tcp:8097 tcp:8097”

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.