本文介绍了用Genymontion响应本机并发并发异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有基本的本地反应应用程序,并试图在Genymon中运行.此刻我出现错误
I have basic react native application and trying to run in Genymon.At moment I'm getting error
java.util.concurrent.ExecutionException: java.lang.RuntimeException:: ReferenceError: Can't find variable: require(http://10.0.3.2:8081/index.android.bundle?platform=android&dev-true
我使用El capitan在Mac上工作,Facebook建议了针对Android dep的所有配置,
I working on Mac with El capitan with all configuration suggested by Facebook for android dep,
我正在运行编译:
../node_modules/react-native-cli/index.js run-android
推荐答案
转到开发设置.
转到调试服务器主机&设备的端口.
Go to Debug server host & port for device.
键入此IP地址和端口==> 0.0.0.0:8081
Type this IP address and port ==> 0.0.0.0:8081
重新加载js.
这篇关于用Genymontion响应本机并发并发异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!