安卓真机如何连接到Reactotron


Reactotron可以帮助我们很方便的调试RN应用。但是,目前我只能连接到模拟器。


请问该如何连接到安卓真机呢?

模拟器 react native Reactotron 连接 开发 RN 安卓真机

asakula 4 years, 10 months ago
需要做端口转发

adb reverse tcp:9090 tcp:9090

然后在设置文件中添加 host,如下

Reactotron
  .configure({
      host: 'localhost' // added code
  })
// ...
.connect()

dstar answered 4 years, 10 months ago

百家樂的玩家要理智的去拚搏,才可以在完美娛樂城下注時贏的漂亮
kericnnoe1964 answered 1 year, 4 months ago

Your Answer