在 linux 中的 react-native(android) 连接问题上,无法与远程调试器连接意外的流结束
问题描述:
当我尝试连接到远程调试器时,它显示以下错误.
When I am trying to connect to remote debugger it shows following error.
反应版本:16.3.1,反应原生版本:0.55.2
react version: 16.3.1, react-native version : 0.55.2
尝试使用 adb reverse tcp:8081 tcp:8081 和 react-native start,但是当我选择调试窗口时仍然显示上述错误.
tried with adb reverse tcp:8081 tcp:8081 and react-native start,but when I select the debug window still showing the above error.
答
尝试在开发设置中添加您的 ip-address:8081 ==> 调试服务器主机和设备端口...
Try to add your ip-address:8081 in Dev setting ==> debug server host and port for device...