加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

could not get batchedbridge, make sure your bundle is packag

发布时间:2020-12-15 08:26:23 所属栏目:百科 来源:网络整理
导读:之前项目还能正常运行,可是今天再去运行时报 code class="hljs vbnet has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro",monospace;font-size:undefined; white-space: pre; b

之前项目还能正常运行,可是今天再去运行时报

<code class="hljs vbnet has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro",monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">could <span class="hljs-keyword" style="color: rgb(0,136); box-sizing: border-box;">not</span> <span class="hljs-keyword" style="color: rgb(0,136); box-sizing: border-box;">get</span> batchedbridge,make sure your bundle <span class="hljs-keyword" style="color: rgb(0,136); box-sizing: border-box;">is</span> packaged correctly</code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid rgb(221,221,221); list-style: none; text-align: right; background-color: rgb(238,238,238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li></ul>

原因:

可能是你将之前安装并配置好的apk应用从手机卸载掉,然后重新安装运行,这时候的dev settings 被重置了。

解决方案:

运行react-native run-android或引入到Android Studio中运行,然后摇动手机,重新配置好IP和端口号,reload

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读