could not get batchedbridge, make sure your bundle is packaged correctly

前端之家收集整理的这篇文章主要介绍了could not get batchedbridge, make sure your bundle is packaged correctly前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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

<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

原文链接:https://www.f2er.com/react/305859.html

猜你在找的React相关文章