![](/img/trans.png)
[英]React-Native build in Visual Studio Code unable to connect with remote debugger timeout while connecting to remote debugger in windows
[英]React-native Timeout when connecting to remote debugger in windows
我是React-Native和Android应用程序开发的新手。 当我尝试在Android Emulator(Pixel 2手机)中运行远程调试器时,我在模拟器中收到以下错误:
然后,即使我停止远程调试,应用程序也不会在模拟器上运行(即没有任何内容呈现在模拟器屏幕中)。 我需要再次运行该项目。
以下是自动生成的调试器URL: http : //10.0.2.2 : 8081 / debugb-
我该如何解决这个问题?
http://10.0.2.2:8081/debugger-ui这是Android VM的内部IP,浏览器使用localhost:8081/debugger-ui
参考https://github.com/facebook/react-native/issues/16674 #issuecomment-376774645
卸载你的应用程序,然后在终端运行=> react-native run-android
然后点击chrome中的调试结束替换http://localhost:8081/debugger-ui/
,运行react-native run-android。 如果你还没有成功再试一次
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.