Did not get valid calls back from JS:

Did not get valid calls back from JS: 

[[5,30,30,30,30,30,30,5,24,34,13],[13,0,0,1,0,1,1,3,6,3,2],[[],[16],[15],[18,1,1525750370914,false],[18],[19,1,1525750370915,false],[20,100,1525750370915,false],[18,1,[3]],["Converting circular structure to JSON",[{"column":6,"lineNumber":7290,"methodName":"MessageQueue.__nativeCall","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":13,"lineNumber":7460,"methodName":"Object.fn [as removeAnimatedEventFromView]","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":22,"lineNumber":56301,"methodName":"Object.removeAnimatedEventFromView","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":19,"lineNumber":55558,"methodName":"AnimatedEvent.__detach","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":6,"lineNumber":55097,"methodName":"AnimatedComponent._detachNativeEvents","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":6,"lineNumber":55070,"methodName":"AnimatedComponent._attachNativeEvents","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":6,"lineNumber":55149,"methodName":"AnimatedComponent.componentWillReceiveProps","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":13,"lineNumber":18595,"methodName":"<unknown>","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"},{"column":8,"lineNumber":18061,"methodName":"measureLifeCyclePerf","file":"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"}],1],["POST","http://10.0.2.2:8081/symbolicate",1,[["content-type","text/plain;charset=UTF-8"]],{"trackingName":"unknown","string":"{\"stack\":[{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"MessageQueue.__nativeCall\",\"lineNumber\":7290,\"column\":6},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"Object.fn [as removeAnimatedEventFromView]\",\"lineNumber\":7460,\"column\":13},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"Object.removeAnimatedEventFromView\",\"lineNumber\":56301,\"column\":22},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"AnimatedEvent.__detach\",\"lineNumber\":55558,\"column\":19},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"AnimatedComponent._detachNativeEvents\",\"lineNumber\":55097,\"column\":6},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"AnimatedComponent._attachNativeEvents\",\"lineNumber\":55070,\"column\":6},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"AnimatedComponent.componentWillReceiveProps\",\"lineNumber\":55149,\"column\":6},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"<unknown>\",\"lineNumber\":18595,\"column\":13},{\"file\":\"http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false\",\"methodName\":\"measureLifeCyclePerf\",\"lineNumber\":18061,\"column\":8}]}"},"base64",false,0]],175]

at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)


这个问题是因为:react native的依赖包 node_module的依赖有问题,主要是版本的问题。

解决办法: 将 node_module的依赖包删掉,重新加载、关联。

1、安装库文件:npm install

2、安装依赖:react-native link

3、react-native run-android 然后就可以运行了



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值