在 linux 中的 react-native(android) 连接问题上,无法与远程调试器连接意外的流结束 [英] unable to connect with remote debugger unexpected end of stream on connection issue in react-native(android) in linux
本文介绍了在 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...
这篇关于在 linux 中的 react-native(android) 连接问题上,无法与远程调试器连接意外的流结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文