Reactotron: CAN'T CONNECT ON ANDROID

Created on 3 Sep 2018  ·  11Comments  ·  Source: infinitered/reactotron

Can't connect it to android on mac os high sierra 10.13
I tried all the suggested solutions on the troubleshooting page, but none of them worked, hope I can use this great tool soon.

package.json

{
  "name": "RnReduxTest",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "axios": "^0.18.0",
    "axios-redux": "^1.0.4",
    "flow-typed": "^2.5.1",
    "react": "16.4.1",
    "react-native": "0.56.0",
    "react-redux": "^5.0.7",
    "redux": "^4.0.0",
    "redux-saga": "^0.16.0",
    "redux-thunk": "^2.3.0"
  },
  "devDependencies": {
    "babel-jest": "23.4.2",
    "babel-preset-react-native": "^5",
    "flow-bin": "^0.79.1",
    "jest": "23.5.0",
    "react-test-renderer": "16.4.1",
    "reactotron-react-native": "^2.1.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

Setup

import Reactotron from 'reactotron-react-native';

export default function configure() {
     Reactotron.configure()
        .useReactNative()
        .connect();
}

// On index.js
...
import configure from './Config.js'
configure();

question

Most helpful comment

Have you tried running adb reverse tcp:9090 tcp:9090?

All 11 comments

Have you tried running adb reverse tcp:9090 tcp:9090?

Yes, I tried it running multiple times.

On Sep 4, 2018 07:18, "rmevans9" notifications@github.com wrote:

Have you tried running adb reverse tcp:9090 tcp:9090?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/infinitered/reactotron/issues/803#issuecomment-418204274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG3GaA6Hlcn8L3djDjVo5GMu28HevYVZks5uXbi3gaJpZM4WXMvw
.

Try using:

Reactotron.configure({ host: "192.168.x.x" })

where 192.168.x.x is your computer's machine.

@skellock Yes, I added that already but it's still not working.

Are you running the right version of the Reactotron app? Should be the 2.x version.

@skellock I'm using 1.15.0

@skellock Closing this.

I've got it working by manually downloading the v2 on the releases because brew is providing the 1.15.0 version.

Woah! it is? This is news to me... I submitted a PR for 2.12.... In fact I submitted several PRs in the 2.x line.

I confirmed though, you're right.

❯ brew cask info reactotron

reactotron: 2.1.2
https://github.com/infinitered/reactotron
/usr/local/Caskroom/reactotron/1.15.0 (64B)

I'll look into this. Thank you for the heads up.

Ohhh.... sorry, I know what's going on here... hehe..

brew update
brew cask uninstall reactotron
brew cask install reactotron

brew cask info reactotron
reactotron: 2.1.2
https://github.com/infinitered/reactotron
/usr/local/Caskroom/reactotron/2.1.2 (64B)
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/reactotron.rb

Whew... you had me sweating there. 😅

Oops sorry for the trouble @skellock
I'm new to macOS & homebrew, I forgot to run brew update ✌️

No worries @karlmarxlopez . I'm not new to homebrew and i still forgot to too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

scally picture scally  ·  5Comments

dhruwal picture dhruwal  ·  3Comments

nonameolsson picture nonameolsson  ·  5Comments

andrewvy picture andrewvy  ·  4Comments

wilr picture wilr  ·  3Comments