在 windows 中连接到远程调试器时 React-native 超时
React-native Timeout when connecting to remote debugger in windows
我是 React-Native 和 android 整个应用程序开发的新手。当我尝试在 Android 模拟器(Pixel 2 phone)中 运行 远程调试器时,我在模拟器中收到以下错误:
然后,即使我停止远程调试,应用程序也不会 运行 在模拟器上(即模拟器屏幕上不会呈现任何内容)。我需要再次 运行 该项目。
以下是自动生成的调试器URL:http://10.0.2.2:8081/debugger-ui
我该如何解决这个问题?
http://10.0.2.2:8081/debugger-ui This is internal IP the Android VM, with your browser use localhost:8081/debugger-ui
reference https://github.com/facebook/react-native/issues/16674#issuecomment-376774645
卸载您的应用程序,然后在终端中 运行 => react-native run-android
然后单击调试结束 chrome 替换 http://localhost:8081/debugger-ui/
,结束 运行 react-native 运行-android。如果还没有成功再试一次
我是 React-Native 和 android 整个应用程序开发的新手。当我尝试在 Android 模拟器(Pixel 2 phone)中 运行 远程调试器时,我在模拟器中收到以下错误:
然后,即使我停止远程调试,应用程序也不会 运行 在模拟器上(即模拟器屏幕上不会呈现任何内容)。我需要再次 运行 该项目。
以下是自动生成的调试器URL:http://10.0.2.2:8081/debugger-ui
我该如何解决这个问题?
http://10.0.2.2:8081/debugger-ui This is internal IP the Android VM, with your browser use localhost:8081/debugger-ui
reference https://github.com/facebook/react-native/issues/16674#issuecomment-376774645
卸载您的应用程序,然后在终端中 运行 => react-native run-android
然后单击调试结束 chrome 替换 http://localhost:8081/debugger-ui/
,结束 运行 react-native 运行-android。如果还没有成功再试一次